Skip to content

.claude/settings.json hooks fail on Windows: executed via PowerShell (not bash) and $CLAUDE_PROJECT_DIR not set #6292

.claude/settings.json hooks fail on Windows: executed via PowerShell (not bash) and $CLAUDE_PROJECT_DIR not set

.claude/settings.json hooks fail on Windows: executed via PowerShell (not bash) and $CLAUDE_PROJECT_DIR not set #6292

name: Remove triage label
on:
issues:
types:
- labeled
permissions:
issues: write
jobs:
remove-triage-label-from-issues:
if:
github.event.label.name != 'triage' && github.event.label.name !=
'more-info-needed'
runs-on: ubuntu-latest
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