-
Notifications
You must be signed in to change notification settings - Fork 59
Update to ACK runtime v0.54.1, code-generator v0.54.0
#252
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
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 |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| name: Hydrate Go Proxy | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
|
|
||
| jobs: | ||
| call-hydrate-go-proxy: | ||
| uses: aws-controllers-k8s/.github/.github/workflows/reusable-postsubmit.yaml@main | ||
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Copilot Autofix
AI 3 days ago
To fix the problem, you should add a
permissionskey to the workflow file, either at the workflow root (so it applies to all jobs by default) or at the specific job level. For single-job workflows, both approaches are equivalent, but setting it at the root makes it more immediately visible. The minimal starting point is to setpermissions: {}(which disables all GITHUB_TOKEN permissions), or specify only those permissions actually needed by the job or the reusable workflow it invokes. Unless you know more granular requirements,permissions: read-all(maps tocontents: read) is a safe default that prevents unnecessary write permissions. Modify.github/workflows/postsubmit.yamlnear the top, after thename:field and before theon:field, to add:Alternatively, if you know no permissions are needed at all, use
permissions: {}. Butcontents: readis required by most workflows.No external libraries or complex changes are needed -- just the addition of the
permissionsblock.