Skip to content

Commit

Permalink
chore: prevent multiple CI runs
Browse files Browse the repository at this point in the history
Avoid consecutive runs so we optimize CI resources.
  • Loading branch information
adolsalamanca committed Feb 11, 2025
1 parent a6b0d22 commit 5da82cd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ on:
type: boolean
required: false
default: false

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
ORG: timescale #timescaledev
TS_VERSION: ${{ github.event.inputs.version || '2.18.1' }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
ORG: timescaledev
TS_VERSION: main
Expand Down

0 comments on commit 5da82cd

Please sign in to comment.