Skip to content

Commit 1412007

Browse files
authored
Merge pull request #5 from openremote/configure-concurrency
Configure concurrency to cancel "In progress" actions
2 parents 18326e7 + 067e324 commit 1412007

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/postgresql.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ on:
1717
- '*.*'
1818
paths-ignore:
1919
- '**/*.md'
20-
20+
21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.ref }}
23+
cancel-in-progress: true
24+
2125
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
2226
jobs:
2327
image_postgresql:
@@ -28,10 +32,6 @@ jobs:
2832
runs-on: ubuntu-latest
2933

3034
steps:
31-
- uses: styfle/[email protected]
32-
with:
33-
access_token: ${{ github.token }}
34-
3535
- name: Set tags
3636
run: |
3737
if [ -z "$TAG" ]; then

0 commit comments

Comments
 (0)