From 6bdc950307ebcf277499b356a51b9039e22dfb61 Mon Sep 17 00:00:00 2001 From: Amadeusz Sadowski Date: Mon, 13 Jul 2026 20:32:20 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20workflow=5Fcall=20secret=20ids=20cannot?= =?UTF-8?q?=20contain=20hyphens=20=E2=80=94=20rename=20pr-token=20to=20pr?= =?UTF-8?q?=5Ftoken?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GitHub secret identifiers allow only alphanumerics and underscores; the hyphenated name made report-check.yml invalid, causing startup_failure in every caller. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01KcYK8hmTmXi8eLWpg9LGKJ --- .github/workflows/report-check.yml | 4 ++-- docs/executable-bug-reports.md | 4 ++-- kit/callers/muster-report.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/report-check.yml b/.github/workflows/report-check.yml index 9c2c92b..e8396dc 100644 --- a/.github/workflows/report-check.yml +++ b/.github/workflows/report-check.yml @@ -32,7 +32,7 @@ on: type: string default: "tests/rosters" secrets: - pr-token: + pr_token: description: Token used to open the promotion PR. Pass a PAT or GitHub App installation token so the PR triggers workflows; defaults to github.token (PR checks will NOT auto-run). required: false @@ -171,7 +171,7 @@ jobs: - name: Open PR env: - GH_TOKEN: ${{ secrets.pr-token || github.token }} + GH_TOKEN: ${{ secrets.pr_token || github.token }} ISSUE: ${{ github.event.issue.number }} run: | git config user.name "muster-bot" diff --git a/docs/executable-bug-reports.md b/docs/executable-bug-reports.md index e85bca0..6f1f9c0 100644 --- a/docs/executable-bug-reports.md +++ b/docs/executable-bug-reports.md @@ -112,7 +112,7 @@ match. By default, the promotion PR is opened with `GITHUB_TOKEN` and GitHub will not run workflows on it (a documented GitHub Actions limitation). If you want the promotion PR to automatically trigger your CI checks, provide a PAT (personal access token) or GitHub App installation token as the -optional `pr-token` secret: +optional `pr_token` secret: ```yaml jobs: @@ -121,7 +121,7 @@ jobs: with: data-source: "github:YourOrg/your-data-repo" secrets: - pr-token: ${{ secrets.MUSTER_PR_TOKEN }} + pr_token: ${{ secrets.MUSTER_PR_TOKEN }} ``` Without this token, you can still run workflows manually by closing and re-opening the PR or by diff --git a/kit/callers/muster-report.yml b/kit/callers/muster-report.yml index 4d4fc35..38fc7b6 100644 --- a/kit/callers/muster-report.yml +++ b/kit/callers/muster-report.yml @@ -11,4 +11,4 @@ jobs: with: data-source: "github:BSData/wh40k-11e" # ← repo-specific: your org/repo[@ref] # secrets: - # pr-token: ${{ secrets.MUSTER_PR_TOKEN }} # optional: lets the promotion PR trigger CI checks + # pr_token: ${{ secrets.MUSTER_PR_TOKEN }} # optional: lets the promotion PR trigger CI checks