Skip to content

Fix: permissions: {} blocks reusable workflow calls#19923

Merged
metascroy merged 1 commit into
mainfrom
fix-ci-permission-issue
Jun 1, 2026
Merged

Fix: permissions: {} blocks reusable workflow calls#19923
metascroy merged 1 commit into
mainfrom
fix-ci-permission-issue

Conversation

@metascroy
Copy link
Copy Markdown
Contributor

viable-strict-gate.yml and mlx.yml had permissions: {} but call _ci-run-decision.yml, which needs contents: read for actions/checkout. GitHub intersects caller permissions with callee needs ({} ∩ {contents: read} = {}), so both workflows were rejected at registration since #19919 landed. The gate hasn't run (so update-viablestrict has had no signal), and mlx.yml hasn't triggered (MLX / * checks show [does not exist] on HUD). Loosen both to permissions: contents: read. Audited all other callers of _ci-run-decision.yml / _get-changed-files.yml; none affected.

@metascroy metascroy changed the title up Fix: permissions: {} blocks reusable workflow calls Jun 1, 2026
@metascroy metascroy requested a review from digantdesai June 1, 2026 22:32
@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented Jun 1, 2026

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/19923

Note: Links to docs will display an error until the docs builds have been completed.

⏳ No Failures, 161 Pending

As of commit f59870b with merge base 410f930 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 1, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 1, 2026

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@metascroy metascroy merged commit 879a565 into main Jun 1, 2026
194 of 197 checks passed
@metascroy metascroy deleted the fix-ci-permission-issue branch June 1, 2026 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants