Repo gardening #7116
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Repo gardening | |
on: | |
issues: | |
types: [opened, reopened, edited, closed] | |
issue_comment: | |
types: [created] | |
jobs: | |
repo-gardening: | |
name: 'Perform automated triage tasks on issues' | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 22 | |
- name: Wait for prior instances of the workflow to finish | |
uses: softprops/turnstyle@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: 'Run gardening action' | |
uses: automattic/action-repo-gardening@trunk | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
slack_token: ${{ secrets.SLACK_TOKEN }} | |
slack_he_triage_channel: ${{ secrets.SLACK_HE_TRIAGE_CHANNEL }} | |
slack_quality_channel: ${{ secrets.SLACK_QUALITY_CHANNEL }} | |
tasks: 'gatherSupportReferences,replyToCustomersReminder' |