mithril-vndb/.github/workflows/issue-create.yml
2024-09-23 04:55:08 -07:00

21 lines
525 B
YAML

name: Ping triage on issue create
on:
issues:
types: [opened]
permissions:
issues: write
repository-projects: write
jobs:
add_triage:
runs-on: ubuntu-latest
steps:
- run: gh issue edit "$ISSUE_URL" --add-project 'Triage/bugs'
env:
ISSUE_URL: ${{ github.event.issue.url }}
GITHUB_TOKEN: ${{ github.token }}
notify:
uses: ./.github/workflows/_post-comment.yml
with:
url: ${{ github.event.issue.url }}
message: '@MithrilJS/triage Please take a look.'