If all fields required when I issue stateless channel token #6
This file contains hidden or 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 issue | |
on: | |
issues: | |
types: | |
- opened | |
- reopened | |
- closed | |
jobs: | |
label-issues: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Add label on issue open | |
if: github.event.action == 'opened' || github.event.action == 'reopened' | |
run: | | |
gh issue edit ${{ github.event.issue.number }} \ | |
--add-label "untriaged" \ | |
env: | |
GH_TOKEN: ${{ github.token }} | |
- name: Remove label on issue close | |
if: github.event.action == 'closed' | |
run: | | |
gh issue edit ${{ github.event.issue.number }} \ | |
--remove-label "untriaged" | |
env: | |
GH_TOKEN: ${{ github.token }} |