Skip to content

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

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

fix(ci): grant permissions for auto_update_libs reusable workflow#809
srbouffard wants to merge 1 commit into
mainfrom
fix/auto-update-libs-permissions-github-runner-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/github-runner-operator/actions/runs/29711107285

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.

2 participants