Skip to content

Commit ce57ac6

Browse files
authored
ci: add explicit release permissions, drop dead dependabot-automerge workflow (#10)
Part of the repo-baseline convergence pass (unional-skills:apply-repo-baseline): - Grant the `release` job in `release.yml` its own `id-token`/`contents`/`pull-requests` permissions so the default Actions token can be lowered to `read` afterwards without breaking the release. - Drop `.github/workflows/dependabot-automerge.yml` — it only fires for actor `dependabot[bot]`, and this repo has no `.github/dependabot.yml`, so it has never run. Renovate is already the configured updater (`.github/renovate.json`). No changeset — this is repo-internal CI/config only, nothing published changes.
2 parents 4191fed + afe4a1c commit ce57ac6

3 files changed

Lines changed: 4 additions & 94 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 70 deletions
This file was deleted.

.github/workflows/dependabot-automerge.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,8 @@ jobs:
1212
release:
1313
uses: cyberuni/.github/.github/workflows/pnpm-release-changeset.yml@v2
1414
needs: code
15+
permissions:
16+
id-token: write
17+
contents: write
18+
pull-requests: write
1519
secrets: inherit

0 commit comments

Comments
 (0)