Post-review for #1865 #259
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
# This name needs to be kept in sync with the workflow_run event in workflow-roadmap.yml | |
name: Clear triage label when moved to next | |
on: | |
issues: | |
types: | |
- labeled | |
jobs: | |
clear-triage-label: | |
if: github.event.label.name == 'next' | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
steps: | |
- run: gh issue edit "$NUMBER" --remove-label triage | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GH_REPO: ${{ github.repository }} | |
NUMBER: ${{ github.event.issue.number }} |