Adding the `question` tag will now auto-close Issues and direct people to post on the Solana Stack Exchange (#26719)

* Adding the `question` tag will now auto-close Issues and direct people to post on the Solana Stack Exchange

* Formatting & add note about message being automated
This commit is contained in:
Steven Luscher 2022-07-21 19:58:49 -07:00 committed by GitHub
parent c7ff185eda
commit 44b9c7a962
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 0 deletions

27
.github/label-actions.yml vendored Normal file
View File

@ -0,0 +1,27 @@
question:
issues:
# Post a comment, `{issue-author}` is an optional placeholder
comment: >
Hi @{issue-author},
Thanks for your question!
We want to make sure to keep signal strong in the GitHub issue tracker – to make sure
that it remains the best place to track issues that affect the development of Solana itself.
Questions like yours deserve a purpose-built Q&A forum. Unless there exists evidence that
this is a bug with Solana itself, please post your question to the Solana Stack Exchange
using this link: https://solana.stackexchange.com/questions/ask
---
_This
[automated message](https://github.com/solana-labs/solana/blob/master/.github/label-actions.yml)
is a result of having added the ‘question’ tag_.
# Close the issue
close: true

15
.github/workflows/label-actions.yml vendored Normal file
View File

@ -0,0 +1,15 @@
name: "Issue Label Actions"
on:
issues:
types: [labeled, unlabeled]
permissions:
contents: read
issues: write
jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/label-actions@v2