Update tests based on the CodeFlare operator redesign #6
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
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 }} |