cicd: move branch locality checking to the release workflow

This commit is contained in:
Andrew Hlynskyi 2023-05-20 01:52:31 +03:00
parent 30dc31ff53
commit 010f288b3c
2 changed files with 14 additions and 3 deletions

View file

@ -72,7 +72,7 @@ jobs:
name: Release
needs: [init, fast_checks, full_checks, min_version, build, sanitize]
if: >
github.event.pull_request.head.repo.full_name == github.repository &&
github.event_name == 'pull_request' &&
startsWith(github.head_ref, 'release/v') &&
!github.event.pull_request.draft
uses: ./.github/workflows/release.yml