From 7c43e4f36bd57d6ffa373c133fe792bf6b0f66cc Mon Sep 17 00:00:00 2001 From: Pnwcomputers Date: Tue, 17 Nov 2026 10:59:32 -0800 Subject: [PATCH] Make auto-label.yml runnable: pin issue-labeler, add permissions - github/issue-labeler has no floating v3 tag (only v3.0-v3.5), so @v3 failed to resolve and the job died during setup. Pin to v3.5. - enable-versioned-regex is a required input; set it to 0. - The repo's default GITHUB_TOKEN is read-only; grant issues: write so the action can add labels. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/auto-label.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/auto-label.yml b/.github/workflows/auto-label.yml index 778be57..6e52857 100644 --- a/.github/workflows/auto-label.yml +++ b/.github/workflows/auto-label.yml @@ -3,12 +3,17 @@ on: issues: types: [opened] +permissions: + contents: read # issue-labeler reads .github/labeler.yml via the API + issues: write # needed to add labels + jobs: label: runs-on: ubuntu-latest steps: - name: Auto label - uses: github/issue-labeler@v3 + uses: github/issue-labeler@v3.5 # no floating "v3" tag exists upstream with: repo-token: ${{ secrets.GITHUB_TOKEN }} configuration-path: .github/labeler.yml + enable-versioned-regex: 0