Skip to content

Commit 69d3203

Browse files
authored
chore(ci): optimize workflows to reduce unnecessary runs (#1787)
1 parent 7caf82e commit 69d3203

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

.github/workflows/ci-auth-js-node18.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ on:
1515
- '!packages/core/auth-js/*ignore'
1616
workflow_call:
1717

18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.ref }}
20+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
21+
1822
permissions:
1923
actions: read
2024
contents: read

.github/workflows/ci-core.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ on:
1919
- '!packages/**/*ignore'
2020
workflow_call:
2121

22+
concurrency:
23+
group: ${{ github.workflow }}-${{ github.ref }}
24+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
25+
2226
permissions:
2327
actions: read
2428
contents: read

.github/workflows/ci-supabase-js.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ on:
1515
- '!packages/**/*ignore'
1616
workflow_call:
1717

18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.ref }}
20+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
21+
1822
env:
1923
NODE_VERSION: '20'
2024

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ name: Publish releases
55
on:
66
push:
77
branches: [master]
8+
paths-ignore:
9+
- '*.md'
10+
- 'docs/**'
11+
- '**/CHANGELOG.md'
812
workflow_dispatch:
913
inputs:
1014
version_specifier:

0 commit comments

Comments
 (0)