Skip to content
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

Document and use correct permissions in the GitHub workflows #258

Commits on Oct 13, 2024

  1. Document and use correct permissions in the GitHub workflows

    When the intention is to potentially create a new GitHub issue, the
    workflows in question need to set the permissions correctly. Otherwise
    the workflow runs may fail with:
    
    	Error: Resource not accessible by integration
    
    which is an admittedly _very_ cryptic way to say that the `GITHUB_TOKEN`
    used in the GitHub workflow run lacks a particular scope to perform the
    desired operation.
    
    Note: The `GITHUB_TOKEN` used to have read/write permissions for all
    scopes by default, but that changed to read-only as per
    https://github.blog/changelog/2023-02-02-github-actions-updating-the-default-github_token-permissions-to-read-only;
    That is the reason why this here change is necessary.
    
    This fixes lycheeverse#194
    
    Signed-off-by: Johannes Schindelin <[email protected]>
    dscho committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    53720bc View commit details
    Browse the repository at this point in the history