mirror of https://github.com/hashicorp/packer
Add workflow to link to discuss on new question (#11825)
* workflows: + automatic label/response on question When a user asks a question through an issue on this repository, we automatically add a comment, pointing to the forums, and add a label to the issue so we can spot more easily which issues need to be acted on. * .github: + link to packer community for questions As extra to the github action, this commit adds an extra button to the new issue template, leading directly to the discuss forums for Packer * .github: add auto-stale-close issue action As follow-up to the labelling of question type issues as needs-reply, we add another action that will automatically mark an issue as stale if it has not been updated for 3 weeks, and close the issue one week after marking it as stale. * Update .github/workflows/issues-opened.yml Co-authored-by: Wilken Rivera <wilken@hashicorp.com>pull/11829/head
parent
b9c28c7a8f
commit
08157fbdce
@ -0,0 +1,5 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: Packer Community Support
|
||||
url: https://discuss.hashicorp.com/c/packer/23
|
||||
about: If you have a question, or are looking for advice, please post on our Discuss forum! The community loves to chime in to help. Happy Coding!
|
||||
@ -0,0 +1,23 @@
|
||||
name: Close Stale Issues
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
jobs:
|
||||
stale-bot:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/stale@v5.0.0
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
days-before-issue-stale: 23
|
||||
days-before-pr-stale: -1 # deactivate the action for PRs
|
||||
days-before-close: 7
|
||||
stale-issue-message: |
|
||||
Hi,
|
||||
|
||||
This issue has not received any update in the last 3 weeks, and will automatically be closed in 7 days if it does not receive any activity by then.
|
||||
|
||||
If you find the [community forum](https://discuss.hashicorp.com/c/packer) to be more helpful or if you've found the answer to your question elsewhere please feel free to post a response and close the issue.
|
||||
only-labels: needs-reply
|
||||
Loading…
Reference in new issue