Try to skip extra checks in the CI for up to date PRs in merge queue. (#1010)
* Try to skip extra checks in the CI for up to date PRs in merge queue. * Try to simplify check * Remove expression syntax from `if`s
This commit is contained in:
committed by
GitHub
parent
fb1299c955
commit
ffdf005507
2
.github/workflows/quality.yml
vendored
2
.github/workflows/quality.yml
vendored
@@ -16,6 +16,7 @@ jobs:
|
||||
checkScript:
|
||||
name: Search for forbidden patterns
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.merge_group.base_ref != 'refs/heads/develop'
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run code quality check suite
|
||||
@@ -24,6 +25,7 @@ jobs:
|
||||
check:
|
||||
name: Project Check Suite
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.merge_group.base_ref != 'refs/heads/develop'
|
||||
# Allow all jobs on main and develop. Just one per PR.
|
||||
concurrency:
|
||||
group: ${{ github.ref == 'refs/heads/main' && format('check-main-{0}', github.sha) || github.ref == 'refs/heads/develop' && format('check-develop-{0}', github.sha) || format('check-{0}', github.ref) }}
|
||||
|
||||
Reference in New Issue
Block a user