Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. total nit: move permissions down to job-level. This is a best practice for security. Here it doesn't matter, but it sets a good precedent if anyone copies this to use in writing a new workflow. 2. The `fetch-dependabot-metadata` step is a read-only operation, so it doesn't need elevated permissions for the `GITHUB_TOKEN`. And then in the follow-on job `build-dependabot-changes` we're using a PAT, so it's not even using the `GITHUB_TOKEN`. So the entire `dependabot-build` workflow file doesn't need any custom permissions on the `GITHUB_TOKEN` at all.
- Loading branch information
1 parent
b3bc799
commit dcf537b
Showing
2 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters