Skip to content

Commit

Permalink
fix dispatch template paths (#211)
Browse files Browse the repository at this point in the history
* fix dispatch template paths

* remove duplicate target
  • Loading branch information
osterman authored Jun 7, 2020
1 parent 00e2d7e commit 9a0515b
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions modules/github/Makefile.init
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GITHUB_TEMPLATES = \
.github/workflows/slash-command-dispatch.yml \
.github/CODEOWNERS \
.github/PULL_REQUEST_TEMPLATE.md \
.github/workflows/slash-command-dispatch.yml \
.github/ISSUE_TEMPLATE/config.yml \
.github/ISSUE_TEMPLATE/feature_request.md \
.github/ISSUE_TEMPLATE/bug_report.md \
Expand All @@ -12,9 +12,4 @@ $(GITHUB_TEMPLATES): $(addprefix $(BUILD_HARNESS_PATH)/templates/, $(GITHUB_TEMP
cp $(BUILD_HARNESS_PATH)/templates/$@ $@
git ls-files --error-unmatch $@ 2>/dev/null || git add $@

.github/slash-command-dispatch.yml:: # do not overwrite config by default
mkdir -p $(dir $@)
cp $(BUILD_HARNESS_PATH)/templates/$@ $@
git ls-files --error-unmatch $@ 2>/dev/null || git add $@

github/init: $(GITHUB_TEMPLATES) .github/slash-command-dispatch.yml
github/init: $(GITHUB_TEMPLATES)

0 comments on commit 9a0515b

Please sign in to comment.