Skip to content

Commit da8cf56

Browse files
committed
fix: skip PR Checks and Deploy TURN workflows for release commits
1 parent 3084755 commit da8cf56

3 files changed

Lines changed: 10 additions & 1 deletion

File tree

.claude/settings.local.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,10 @@
181181
"Bash(gh run view:*)",
182182
"Bash(node scripts/release.mjs:*)",
183183
"Bash(gh release:*)",
184-
"Bash(bash)"
184+
"Bash(bash)",
185+
"Bash(timeout 5 pairux:*)",
186+
"Bash(gh run watch:*)",
187+
"Bash(~/.local/bin/pairux:*)"
185188
],
186189
"deny": [
187190
"Bash(npm *)",

.github/workflows/deploy-turn.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
deploy:
1717
runs-on: ubuntu-latest
1818
name: Deploy to TURN Droplet
19+
# Skip release commits (only package.json version changes, no actual code changes)
20+
if: ${{ !startsWith(github.event.head_commit.message, 'chore(release):') }}
1921

2022
steps:
2123
- name: Checkout

.github/workflows/pr-checks.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
lint:
1515
name: Lint
1616
runs-on: ubuntu-latest
17+
# Skip release commits (they're already validated before tagging)
18+
if: ${{ !startsWith(github.event.head_commit.message, 'chore(release):') }}
1719
steps:
1820
- name: Checkout
1921
uses: actions/checkout@v4
@@ -42,6 +44,8 @@ jobs:
4244
test:
4345
name: Test
4446
runs-on: ubuntu-latest
47+
# Skip release commits (they're already validated before tagging)
48+
if: ${{ !startsWith(github.event.head_commit.message, 'chore(release):') }}
4549
steps:
4650
- name: Checkout
4751
uses: actions/checkout@v4

0 commit comments

Comments
 (0)