-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[workflows] read-only permissions for GITHUB_TOKEN in all flow
Setting read-only permission for all scopes for the GITHUB_TOKEN used in all remaining workflows. This is a part of adopting security best practices of the OpenSSF based on the ScoreCard tool [1] [1] https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
- Loading branch information
Showing
4 changed files
with
8 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,8 @@ on: | |
release: | ||
types: [published] | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
main: | ||
runs-on: ubuntu-latest | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,8 @@ on: | |
release: | ||
types: [published] | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
build: | ||
name: Build pypi package | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,8 @@ on: | |
release: | ||
types: [published] | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
build: | ||
name: Build snap package | ||
|