-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automatically label issues as needing triage and add them to CodeFlar…
…e project board Signed-off-by: Anish Asthana <[email protected]>
- Loading branch information
1 parent
70a8556
commit 8f13eab
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Label new issues as needs-triage and add to CodeFlare Sprint Board | ||
on: | ||
issues: | ||
types: | ||
- opened | ||
jobs: | ||
add_label: | ||
name: Add needs-triage label to new issues | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: gh issue edit ${{ github.event.issue.number }} --add-label "triage/needs-triage" | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
|
||
add-to-project: | ||
name: Add issue to project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
project-url: https://github.com/orgs/project-codeflare/projects/8 | ||
github-token: ${{ secrets.CODEFLARE_MACHINE_ACCOUNT_TOKEN }} |