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: set minimal permissions to GitHub workflows #73

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

diogoteles08
Copy link
Contributor

Closes #72

On the lsif.yml file I couldn't be 100% sure on the permissions required on the lsif-go job, so I let only with contents: read for now -- let me know if this should be changed.

Note that the permissions defined on the line 5 will be the same permissions granted on the line 17, as the secrets.GITHUB_TOKEN passed as parameter is the same token that will be used to run the workflow in general.

@keegancsmith keegancsmith merged commit 8a0bf06 into sourcegraph:master Aug 30, 2023
1 check passed
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

Successfully merging this pull request may close these issues.

CI: add minimal permissions to your GitHub Workflows
2 participants