Skip to content

fix(ci): grant permissions for auto_update_libs reusable workflow - #237

Open
srbouffard wants to merge 1 commit into
mainfrom
fix/auto-update-libs-permissions-bulk-20260720-github-runner-image-builder-operator
Open

fix(ci): grant permissions for auto_update_libs reusable workflow#237
srbouffard wants to merge 1 commit into
mainfrom
fix/auto-update-libs-permissions-bulk-20260720-github-runner-image-builder-operator

Conversation

@srbouffard

Copy link
Copy Markdown

Summary

  • add explicit permissions to .github/workflows/auto_update_libs.yaml
  • grant contents: write, pull-requests: write, and id-token: write to the reusable-workflow caller job

Why

The auto-update libraries workflow has a long startup-failure streak (61 runs).
Latest failed run: https://github.com/canonical/github-runner-image-builder-operator/actions/runs/29711207243

This repository uses read-only default workflow token permissions, but the called reusable workflow requires write scopes.

Resolution

Add explicit caller permissions so scheduled runs can start and create update PRs successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants