ps-actions-sandbox / ActionsFundamentals

Repo for the GitHub Actions Fundamentals training.
MIT License
16 stars 122 forks source link

Fix rights issue on init #15

Closed rajbos closed 1 year ago

rajbos commented 1 year ago

When the target organization has the GITHUB_TOKEN setup to 'read only', the init workflow fails because it does not have the rights to checkout the code, which in turn is needed to run the GitHub CLI commands. This PR fixes those rights.