-
-
Notifications
You must be signed in to change notification settings - Fork 1
Add explicit permissions blocks so the default token can drop to read #53
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
Changes from all commits
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 |
|---|---|---|
|
|
@@ -3,6 +3,9 @@ on: [pull_request] | |
| jobs: | ||
| execution-checks: | ||
| runs-on: "runs-on=${{ github.run_id }}/family=g4dn.2xlarge/image=ubuntu24-gpu-x64/disk=large" | ||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
|
Comment on lines
+6
to
+8
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Addressed — this PR was superseded by #54, whose consolidated block for |
||
| container: | ||
| image: docker://us-docker.pkg.dev/colab-images/public/runtime | ||
| options: --gpus all | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,6 +3,9 @@ on: | |
| push: | ||
| tags: | ||
| - 'publish*' | ||
| permissions: | ||
| contents: write # peaceiris/actions-gh-pages pushes the built site to gh-pages | ||
| actions: read # dawidd6/action-download-artifact reads the cache.yml build artifact | ||
|
Comment on lines
+6
to
+8
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fair catch, and now addressed in #55 — |
||
| jobs: | ||
| publish: | ||
| if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') | ||
|
|
||
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.
Addressed — this PR was superseded by #54, whose consolidated block for
ci.ymlincludesactions: read.