mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-28 12:39:43 +00:00
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.
This commit is contained in:
parent
d1f884033f
commit
826664b559
1 changed files with 1 additions and 7 deletions
8
.github/workflows/nix-hashes.yml
vendored
8
.github/workflows/nix-hashes.yml
vendored
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue