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)