inprogress ticket table in readme was closed #3
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 workflow is triggered when an issue is closed | |
# It will remove the "inprogress" label from the issue | |
name: Issue Closed | |
run-name: ${{ github.event.issue.title }} was closed | |
on: | |
issues: | |
types: | |
- closed | |
permissions: | |
issues: write | |
jobs: | |
remove-inprogress-label: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the repository to set up the environment | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
# Use GitHub CLI to remove the "inprogress" label | |
- name: Remove inprogress label | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
gh issue edit ${{ github.event.issue.number }} --remove-label inprogress |