Skip to content

Line Concatenation

Line Concatenation #8

Workflow file for this run

name: Label issue
on:
issues:
types:
- opened
- reopened
- closed
jobs:
label-issues:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- 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 }}