From 44b9e883916f3e6812a743246c192e7daf9e105a Mon Sep 17 00:00:00 2001 From: sagun Date: Mon, 21 Nov 2022 17:49:41 -0500 Subject: [PATCH] Added github auto-close --- .github/pull_request_template.md | 13 +++++++++++++ .github/workflows/auto_close_all_issues.yml | 15 +++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 .github/pull_request_template.md create mode 100644 .github/workflows/auto_close_all_issues.yml diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..559a9fe --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,13 @@ +We welcome feedback and issue reporting for all bioBakery tools through our [Discourse site](https://forum.biobakery.org/c/pull-request/featurepull-request/). For users that would like to directly contribute to the [tools](https://github.com/biobakery/) we are happy to field PRs to address bug fixes. Please note the turn around time on our end might be a bit long to field these but that does not mean we don't value the contribution! We currently don't accept PRs to add new functionality to tools but we would be happy to receive your feedback on [Discourse](https://forum.biobakery.org/c/pull-request/featurepull-request/). + + + +## Description + + +## Related Issue + + + + +## Screenshots (if appropriate): \ No newline at end of file diff --git a/.github/workflows/auto_close_all_issues.yml b/.github/workflows/auto_close_all_issues.yml new file mode 100644 index 0000000..b0d145f --- /dev/null +++ b/.github/workflows/auto_close_all_issues.yml @@ -0,0 +1,15 @@ +name: Auto-Close All Issues +on: + issues: + issue_comment: +jobs: + auto_close_all_issues: + if: ${{ !github.event.issue.pull_request }} + runs-on: ubuntu-latest + steps: + - uses: peter-evans/close-issue@v1 + with: + comment: | + Thank you for creating this issue. + We currently field issues through our [bioBakery Discourse Support Forum](https://forum.biobakery.org/t/about-the-maaslin2-category). + If you would please post the issue to discourse we would be happy to sync up with you to get it resolved.