Skip to content

Commit

Permalink
Automatically label issues as needing triage and add them to CodeFlar…
Browse files Browse the repository at this point in the history
…e project board

Signed-off-by: Anish Asthana <[email protected]>
  • Loading branch information
anishasthana authored and openshift-merge-robot committed Aug 31, 2023
1 parent 70a8556 commit 8f13eab
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/auto-add-issues.yaml
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 }}

0 comments on commit 8f13eab

Please sign in to comment.