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

ci: add github-token permissions for CodeQL workflow #1292

Conversation

consideRatio
Copy link
Member

@consideRatio consideRatio commented May 1, 2021

This is the first time i see the CodeQL workflow fail if I recall correctly. I get notifications as I'm considered the "actor" of the scheduled CI job when it triggers - because i changed the file most recently.

As the JupyterHub org made the secrets.GITHUB_TOKEN readonly, we introduced failures like this one. By setting the permissions explicitly, we get things functional again.

Note that the permissions I set in this PR were not guessed, but I saw recent changes in the CodeQL repository and mirror those: github/codeql-action@e305db8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant