Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This workflow posts an automated comment on every new issue
# https://github.com/marketplace/actions/create-or-update-comment (https://github.com/peter-evans/create-or-update-comment)

name: Automatic Comment
on:
issues:
types: [opened]
permissions:
contents: read

jobs:
comment:
permissions:
issues: write # for peter-evans/create-or-update-comment to create or update comment
pull-requests: write # for peter-evans/create-or-update-comment to create or update comment
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. The issue will be ready to work on once we remove the "needs triage" label.

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/SQCFCACz) or follow up on the issue itself.

For full info on how to contribute, please check out our [contributors guide](https://anguhashblog.com/contributing).
21 changes: 21 additions & 0 deletions .github/workflows/triage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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: take an issue
uses: bdougie/take-action@v1.6.1
with:
issueCurrentlyAssignedMessage: Thanks for being interested in this issue. It looks like this ticket is already assigned to a contributor.
token: ${{ secrets.ACCESS_TOKEN }}
blockingLabels: πŸ‘€ needs triage,blocked,core team work,πŸ“› prerequisites missing,needs design,duplicate
blockingLabelsMessage: The issue you are trying to assign yourself is blocked either by the 'needs triage' label, or by another label on the issue. Please wait until the issue is unblocked before assigning yourself.