Closed reakaleek closed 6 months ago
cc @reakaleek
@reakaleek @elastic/observablt-ci we only use github workflows to add issues to boards. Do you know what permissions are needed for that?
It uses GITHUB_TOKEN: ${{ secrets.PROJECT_ASSIGNER_TOKEN }}
, so no issues to be merged in this particular case
Details
⚠️ This PR was created by an automated tool. Please review the changes carefully. ⚠️
We want to set the default permissions for workflows to read-only for contents. This is a security measure to prevent accidental changes to the repository.
This change adds a top-level permissions block to all workflows in the .github/workflows directory.
In some cases workflows might need more permissions than just
contents: read
. Please checkout this branch and add the necessary permissions to the workflows.If your workflow uses a Personal Access Token (PAT), we can still add the permissions block, but it will not have any effect.
Merging this PR as is might cause workflows that need more permissions to fail.
If there are any questions, please reach out to the @elastic/observablt-ci