Skip to content

v46: README suggests inadequate permissions key #2549

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lkraav opened this issue Apr 29, 2025 · 1 comment
Closed

v46: README suggests inadequate permissions key #2549

lkraav opened this issue Apr 29, 2025 · 1 comment

Comments

@lkraav
Copy link

lkraav commented Apr 29, 2025

changed-files/README.md

Lines 235 to 236 in 5426ecc

permissions:
pull-requests: read
also seems to need contents: read, or checkout will run into actions/checkout#254

@jackton1
Copy link
Contributor

Hi @lkraav the example you linked is for using GitHub’s API not the checkout action. Please see https://github.com/tj-actions/changed-files/blob/main/.github/workflows/test.yml#L108 for the correct permission.

@jackton1 jackton1 closed this as not planned Won't fix, can't repro, duplicate, stale Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants