Skip to content

Commit db94019

Browse files
committed
ci: skip build.yml on default branch pushes
`build.yml` triggers on `push` and `workflow_dispatch`. The reusable `dappnode-build-hash.yml` SDK already auto-detects pushes to the default branch and runs a no-op test build (no IPFS pin, no comment), so the workflow run is wasted CI on every merge. Add `branches-ignore: ["master"]` to the push trigger so the workflow doesn't even start on default-branch pushes. `workflow_dispatch` and pushes to other branches (e.g. tropibot bump branches) still trigger it as before.
1 parent 593729f commit db94019

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: Build
33
on:
44
workflow_dispatch:
55
push:
6+
branches-ignore:
7+
- "master"
68
paths-ignore: ["README.md"]
79

810
jobs:

0 commit comments

Comments
 (0)