Skip to content

Commit

Permalink
Update notify-triage.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dead-claudia authored Sep 24, 2024
1 parent a608f9b commit ff3155e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/notify-triage.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
name: Ping triage
name: Notify triage

on:
workflow_call:

env:
ISSUE_URL: ${{ github.event.issue.url }}
ISSUE_URL: ${{ github.event.issue.url || github.event.pull_request.url }}
GH_TOKEN_SECRET: ${{ github.token }}

jobs:
notify:
runs-on: ubuntu-latest
steps:
- run: |
- name: Notify triage
run: |
export GITHUB_TOKEN="$GH_TOKEN_SECRET"
gh issue edit "$ISSUE_URL" --add-project 'Triage/bugs' &&
gh issue comment "$ISSUE_URL" --body '@MithrilJS/triage Please take a look.'
env:
GITHUB_TOKEN: ${{ github.token }}
ISSUE_URL: ${{ github.event.issue.url }}

0 comments on commit ff3155e

Please sign in to comment.