|
|
@ -16,8 +16,6 @@ jobs: |
|
|
|
checkScript: |
|
|
|
checkScript: |
|
|
|
name: Search for forbidden patterns |
|
|
|
name: Search for forbidden patterns |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
# Don't run in the merge queue again if the branch is up to date with `develop` |
|
|
|
|
|
|
|
if: github.event.merge_group.base_ref != 'refs/heads/develop' |
|
|
|
|
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- name: Run code quality check suite |
|
|
|
- name: Run code quality check suite |
|
|
@ -26,8 +24,6 @@ jobs: |
|
|
|
check: |
|
|
|
check: |
|
|
|
name: Project Check Suite |
|
|
|
name: Project Check Suite |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
# Don't run in the merge queue again if the branch is up to date with `develop` |
|
|
|
|
|
|
|
if: github.event.merge_group.base_ref != 'refs/heads/develop' |
|
|
|
|
|
|
|
# Allow all jobs on main and develop. Just one per PR. |
|
|
|
# Allow all jobs on main and develop. Just one per PR. |
|
|
|
concurrency: |
|
|
|
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) }} |
|
|
|
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) }} |
|
|
|