🐛 Bug - Menu with all items disabled does not disappear on clicking away #2305
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 removes the stale label from PRs and issues when a new comment is created | |
# | |
name: Remove stale label | |
on: | |
issue_comment: | |
types: [created] | |
jobs: | |
remove_stale: | |
if: contains(github.event.issue.labels.*.name, 'stale') | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- name: Remove stale label | |
run: gh issue edit $ISSUE --remove-label $LABEL | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
ISSUE: ${{ github.event.issue.number }} | |
LABEL: 'stale' |