add concurrency to ci (#8271)

* add concurrency to ci

* add readme for workflows
This commit is contained in:
Michal Nicpon
2022-10-24 14:01:00 -06:00
committed by GitHub
parent b2a9c78c92
commit 56f3cb62ef
30 changed files with 204 additions and 6 deletions
+7 -2
View File
@@ -12,14 +12,19 @@ on:
- '.github/workflows/test-schema-changes.yml'
workflow_dispatch: # Manual
permissions:
contents: read
# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id}}
cancel-in-progress: true
defaults:
run:
# fail-fast using bash -eo pipefail. See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference
shell: bash
permissions:
contents: read
jobs:
test-db-changes:
runs-on: ubuntu-latest