Skip to content

style(docs): format docs #33

style(docs): format docs

style(docs): format docs #33

Workflow file for this run

name: Triage
on:
issues:
types: [labeled]
pull_request:
types: [labeled]
jobs:
triage-issues:
permissions:
issues: write
if: ${{ github.event_name == 'issues' }}
runs-on: ubuntu-latest
name: Triage issues
steps:
- name: Nissuer
uses: balazsorban44/[email protected]
with:
label-comments: |
{
"good first issue": ".github/comments/good-first-issue.md",
"cannot recreate": ".github/comments/cannot-recreate.md",
"issue duplicate": ".github/comments/issue-duplicate.md",
"unclear": ".github/comments/unclear.md"
}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
triage-prs:
permissions:
pull-requests: write
if: ${{ github.event_name == 'pull_request' }}
runs-on: ubuntu-latest
name: Triage PRs
strategy:
matrix:
consultation:
- { file: '.github/comments/pr-duplicate.md', label: 'PR duplicate' }
- {
file: '.github/comments/need-improvement.md',
label: 'need improvement',
}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Salle de consultation en ${{ matrix.consultation.label }}
if: ${{ github.event.label.name == matrix.consultation.label }}
run: gh pr comment ${{ github.event.pull_request.number }} -F ${{ matrix.consultation.file}}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}