diff --git a/.github/workflows/assign-issues.yml b/.github/workflows/assign-issues.yml new file mode 100644 index 00000000..43e5c59f --- /dev/null +++ b/.github/workflows/assign-issues.yml @@ -0,0 +1,23 @@ +name: "Assign issues with .take" + +on: + issue_comment: + types: + - created + - edited +jobs: + take-issue: + name: Disable take issue + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - name: Disable take an issue + uses: bdougie/take-action@v1.6 + with: + message: Thanks for taking this issue! Let us know if you have any questions! + trigger: .take + issueCurrentlyAssignedMessage: Thanks for being interested in this issue. It looks like this ticket is already assigned to a contributor. + token: ${{ secrets.GITHUB_TOKEN }} + blockingLabels: 👀 needs triage,blocked,core team work,needs design,duplicate + blockingLabelsMessage: The issue you are trying to assign yourself is blocked by the label on the issue. + \ No newline at end of file diff --git a/.github/workflows/auto-comment-issues.yml b/.github/workflows/auto-comment-issues.yml new file mode 100644 index 00000000..069afbe5 --- /dev/null +++ b/.github/workflows/auto-comment-issues.yml @@ -0,0 +1,23 @@ +name: Automatic Comment + +on: + issues: + types: [opened] +permissions: + contents: read + +jobs: + comment: + permissions: + issues: write + pull-requests: write + name: Comment + runs-on: ubuntu-latest + steps: + - name: Automatic Comment + uses: peter-evans/create-or-update-comment@v2 + with: + issue-number: ${{ github.event.issue.number }} + body: | + Thanks for the issue, our team will look into it as soon as possible. If you would like to work on this issue, please wait for us to decide if it's ready. To claim an issue that does not have the "needs triage" label, please leave a comment that says ".take". If you have any questions, please reach out to us on [Discord](https://discord.gg/KJUb2AwM) or follow up on the issue itself. + For full info on how to contribute, please check out our [contributors guide](../contributor guide) \ No newline at end of file