Non-interactive (-p) sessions: tool-call approval silently and permanently revoked mid-session, causing unrecoverable 'Permission denied and could not request permission from user' #1744
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: Remove triage tab from closed issues | |
| on: | |
| issues: | |
| types: | |
| - closed | |
| jobs: | |
| label_issues: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| steps: | |
| - run: gh issue edit "$NUMBER" --remove-label "$LABELS" | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| GH_REPO: ${{ github.repository }} | |
| NUMBER: ${{ github.event.issue.number }} | |
| LABELS: triage |