-
Notifications
You must be signed in to change notification settings - Fork 1
[BUILD] Add top level permission restriction for GITHUB_TOKEN #60
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
base: main
Are you sure you want to change the base?
Changes from all commits
a0d0bf9
c6be37a
5238379
5e07078
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,6 +23,10 @@ on: | |
| - '**/*.swift' | ||
|
|
||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
|
|
||
| jobs: | ||
|
|
||
| swift-lint: | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -22,7 +22,10 @@ on: | |||
| # Weekly on Saturdays. | ||||
| - cron: '30 1 * * 6' | ||||
|
|
||||
| permissions: read-all | ||||
|
|
||||
| permissions: | ||||
| contents: read | ||||
|
|
||||
|
|
||||
|
||||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -17,6 +17,10 @@ on: | |||||||||||||||||||||||
| - cron: '30 1 1 * *' | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| permissions: | ||||||||||||||||||||||||
| contents: read | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| jobs: | ||||||||||||||||||||||||
| oss-review-toolkit: | ||||||||||||||||||||||||
|
Comment on lines
+20
to
25
|
||||||||||||||||||||||||
| permissions: | |
| contents: read | |
| jobs: | |
| oss-review-toolkit: | |
| permissions: | |
| contents: read | |
| jobs: | |
| oss-review-toolkit: |
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -7,6 +7,10 @@ name: REUSE Compliance Check | |||
| on: [push, pull_request] | ||||
|
|
||||
|
|
||||
| permissions: | ||||
| contents: read | ||||
|
|
||||
|
|
||||
|
||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Consider removing redundant blank lines following the permissions block to maintain consistent formatting.