Skip to content

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

Merged
srbouffard merged 1 commit into
mainfrom
fix/auto-update-libs-permissions-bulk-20260720-saml-integrator-operator
Jul 21, 2026
Merged

fix(ci): grant permissions for auto_update_libs reusable workflow#252
srbouffard merged 1 commit into
mainfrom
fix/auto-update-libs-permissions-bulk-20260720-saml-integrator-operator

Conversation

@srbouffard

Copy link
Copy Markdown
Contributor

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/saml-integrator-operator/actions/runs/29711205072

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.

@srbouffard
srbouffard requested a review from a team as a code owner July 20, 2026 20:39
@srbouffard
srbouffard requested review from cbartz and m2-farzan and removed request for a team July 20, 2026 20:39
@srbouffard
srbouffard merged commit 576c220 into main Jul 21, 2026
18 checks passed
@srbouffard
srbouffard deleted the fix/auto-update-libs-permissions-bulk-20260720-saml-integrator-operator branch July 21, 2026 19:08
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.

2 participants