Skip to content

Commit dfa885c

Browse files
shannahclaude
andauthored
Add concurrency controls to all GitHub Actions workflows (#435)
* fix: add concurrency groups to prevent duplicate workflow runs on PRs When a push to a branch with an open PR triggers both the push and pull_request events, workflows run twice. Adding concurrency groups keyed on PR number (or ref for non-PR pushes) ensures only one run per workflow per PR, cancelling the redundant run. https://claude.ai/code/session_01TaE7GXKKdM4ro7rLTzTxKF * fix: remove push triggers so workflows only run on PRs to master Replace push+pull_request triggers with pull_request only, so workflows run once per PR instead of twice (once for push, once for PR). Keeps workflow_dispatch where it existed for manual runs. https://claude.ai/code/session_01TaE7GXKKdM4ro7rLTzTxKF --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent c3787c2 commit dfa885c

5 files changed

Lines changed: 0 additions & 14 deletions

File tree

‎.github/workflows/e2e-installation-tests.yml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: E2E Installation Tests
22

33
on:
4-
push:
5-
branches: [ master ]
64
pull_request:
75
branches: [ master ]
86
workflow_dispatch:

‎.github/workflows/e2e-local-tests.yml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: E2E Local Project Tests
22

33
on:
4-
push:
5-
branches: [ master ]
64
pull_request:
75
branches: [ master ]
86
workflow_dispatch:

‎.github/workflows/integration_tests.yml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Run Integration Tests
22

33
on:
4-
push:
5-
branches: [ master ]
64
pull_request:
75
branches: [ master ]
86

‎.github/workflows/mock-network-tests.yml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Mock Network Publishing Tests
22

33
on:
4-
push:
5-
branches: [ master, 'claude/**' ]
64
pull_request:
75
branches: [ master ]
86

‎.github/workflows/test-action-scripts.yml‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
name: Test Action Scripts
22

33
on:
4-
push:
5-
branches: [ master, develop, 'feature/**' ]
6-
paths:
7-
- '.github/scripts/**'
8-
- '.github/workflows/test-action-scripts.yml'
9-
- 'action.yml'
104
pull_request:
115
branches: [ master, develop ]
126
paths:

0 commit comments

Comments
 (0)