Skip to content

Commit d911ec7

Browse files
committed
Do not fail on initial github actions setup
1 parent fd89aed commit d911ec7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

makefiles/github-actions.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ GO ?= go
22

33
## Replace GitHub Actions from template
44
github-actions:
5-
@mkdir -p $(PWD)/.github/workflows && chmod +w $(PWD)/.github/workflows/*.yml \
5+
@mkdir -p $(PWD)/.github/workflows && (chmod +w $(PWD)/.github/workflows/*.yml || echo "could not chmod +w existing workflows") \
66
&& cp $(DEVGO_PATH)/templates/github/workflows/*.yml $(PWD)/.github/workflows/ \
77
&& chmod +w $(PWD)/.github/workflows/*.yml && git add $(PWD)/.github/workflows \
88
&& (test -z "$(BENCH_COUNT)" && rm $(PWD)/.github/workflows/bench.yml || echo "keeping bench.yml")

0 commit comments

Comments
 (0)