CI: don't let commits in other PRs interrupt CI runs (#361)

This commit is contained in:
missytake
2024-07-12 12:05:21 +02:00
committed by GitHub
parent 9c09d50e8f
commit 1eca8aa143
2 changed files with 9 additions and 2 deletions

View File

@@ -15,10 +15,14 @@ jobs:
deploy:
name: deploy on staging2.testrun.org, and run tests
runs-on: ubuntu-latest
timeout-minutes: 30
concurrency:
group: staging-deploy
cancel-in-progress: true
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ !contains(github.ref, '$GITHUB_REF') }}
steps:
- uses: jsok/serialize-workflow-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- name: prepare SSH