Skip to content

Commit 826664b

Browse files
committed
ci: restrict nix-hashes workflow to dev branch pushes only
Remove pull_request trigger and limit push trigger to dev branch to prevent unnecessary workflow runs on feature branches and PRs. The workflow will now only execute when dependency files change on the dev branch.
1 parent d1f8840 commit 826664b

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

.github/workflows/nix-hashes.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,7 @@ permissions:
66
on:
77
workflow_dispatch:
88
push:
9-
paths:
10-
- "bun.lock"
11-
- "package.json"
12-
- "packages/*/package.json"
13-
- "flake.lock"
14-
- ".github/workflows/nix-hashes.yml"
15-
pull_request:
9+
branches: [dev]
1610
paths:
1711
- "bun.lock"
1812
- "package.json"

0 commit comments

Comments
 (0)