summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2026-02-01 21:16:13 -0500
committerDax Raad <[email protected]>2026-02-01 21:16:13 -0500
commit826664b559c3d42f60c8f48fa5dddce997cc0cf0 (patch)
treecef4e0c664f1a8c76c351ddd1f281edd87bc1482
parentd1f884033f2325ffd344da53b93d89da2ca296ca (diff)
downloadopencode-826664b559c3d42f60c8f48fa5dddce997cc0cf0.tar.gz
opencode-826664b559c3d42f60c8f48fa5dddce997cc0cf0.zip
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.
-rw-r--r--.github/workflows/nix-hashes.yml8
1 files changed, 1 insertions, 7 deletions
diff --git a/.github/workflows/nix-hashes.yml b/.github/workflows/nix-hashes.yml
index cc16d8184..5446f9212 100644
--- a/.github/workflows/nix-hashes.yml
+++ b/.github/workflows/nix-hashes.yml
@@ -6,13 +6,7 @@ permissions:
on:
workflow_dispatch:
push:
- paths:
- - "bun.lock"
- - "package.json"
- - "packages/*/package.json"
- - "flake.lock"
- - ".github/workflows/nix-hashes.yml"
- pull_request:
+ branches: [dev]
paths:
- "bun.lock"
- "package.json"