Skip to content

Commit 704272c

Browse files
bors[bot]jrvanwhy
andauthored
Merge #229
229: Set the artifacts workflow to only run when `master` is pushed to. r=hudson-ayers a=jrvanwhy In the current setup, every time I push any branch to my fork I get an artifacts action run, which seems very wasteful. This change makes the actions workflow only run when master is modified. Note that the workflow will still run in forks, but only when the fork's master branch is updated. @alistair23 , is this a desirable change? Co-authored-by: Johnathan Van Why <[email protected]>
2 parents 773433d + 32569ba commit 704272c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/artifacts.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Artifacts
2-
on: [push]
2+
on:
3+
push:
4+
branches: [master]
35

46
jobs:
57
build:

0 commit comments

Comments
 (0)