diff --git a/.github/label-actions.yml b/.github/label-actions.yml new file mode 100644 index 0000000000..029ec96a2d --- /dev/null +++ b/.github/label-actions.yml @@ -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 diff --git a/.github/workflows/label-actions.yml b/.github/workflows/label-actions.yml new file mode 100644 index 0000000000..218876135a --- /dev/null +++ b/.github/workflows/label-actions.yml @@ -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