From 7fc99264edadbc04d9176d738b7ef3af38014560 Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude <196420835+ChrisRackauckas-Claude@users.noreply.github.com> Date: Thu, 24 Sep 2026 05:26:31 -0400 Subject: [PATCH] Grant TagBot and Dependabot-automerge callers the token permissions they request TagBot had no caller permissions block and DependabotAutoMerge was missing checks:read + statuses:read, so both fail startup validation against this repo's read-only default GITHUB_TOKEN. Grant exactly what the SciML/.github reusable workflows request. Co-Authored-By: Chris Rackauckas Agent-Harness: opencode Agent-Model: opencode/muse-spark-1.3-contributor-free Agent-Session: local opencode session (no shareable URL) --- .github/workflows/DependabotAutoMerge.yml | 2 ++ .github/workflows/TagBot.yml | 14 ++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/.github/workflows/DependabotAutoMerge.yml b/.github/workflows/DependabotAutoMerge.yml index 44b814c..10d72c8 100644 --- a/.github/workflows/DependabotAutoMerge.yml +++ b/.github/workflows/DependabotAutoMerge.yml @@ -3,6 +3,8 @@ on: pull_request permissions: contents: write pull-requests: write + checks: read + statuses: read jobs: automerge: uses: "SciML/.github/.github/workflows/dependabot-automerge.yml@v1" diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index 9ed2d3e..7bc58b0 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -5,5 +5,19 @@ on: workflow_dispatch: jobs: tagbot: + # This repository's default GITHUB_TOKEN is read-only; the reusable workflow requests these. + permissions: + actions: read + checks: read + contents: write + deployments: read + issues: read + discussions: read + packages: read + pages: read + pull-requests: read + repository-projects: read + security-events: read + statuses: read uses: "SciML/.github/.github/workflows/tagbot.yml@v1" secrets: "inherit"