From 9a0515b3ca3c81c1ee63689d173ab8dd2c493ff2 Mon Sep 17 00:00:00 2001 From: Erik Osterman Date: Sun, 7 Jun 2020 08:36:22 -0700 Subject: [PATCH] fix dispatch template paths (#211) * fix dispatch template paths * remove duplicate target --- modules/github/Makefile.init | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/modules/github/Makefile.init b/modules/github/Makefile.init index 155a6640..b1759956 100644 --- a/modules/github/Makefile.init +++ b/modules/github/Makefile.init @@ -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 \ @@ -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)