We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd89aed commit d911ec7Copy full SHA for d911ec7
makefiles/github-actions.mk
@@ -2,7 +2,7 @@ GO ?= go
2
3
## Replace GitHub Actions from template
4
github-actions:
5
- @mkdir -p $(PWD)/.github/workflows && chmod +w $(PWD)/.github/workflows/*.yml \
+ @mkdir -p $(PWD)/.github/workflows && (chmod +w $(PWD)/.github/workflows/*.yml || echo "could not chmod +w existing workflows") \
6
&& cp $(DEVGO_PATH)/templates/github/workflows/*.yml $(PWD)/.github/workflows/ \
7
&& chmod +w $(PWD)/.github/workflows/*.yml && git add $(PWD)/.github/workflows \
8
&& (test -z "$(BENCH_COUNT)" && rm $(PWD)/.github/workflows/bench.yml || echo "keeping bench.yml")
0 commit comments