-
Notifications
You must be signed in to change notification settings - Fork 0
Update 8hobbies/workflows digest to 71e7c31 #211
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 |
|---|---|---|
|
|
@@ -19,6 +19,6 @@ | |
| tags: ["v*"] | ||
| jobs: | ||
| build: | ||
| uses: 8hobbies/workflows/.github/workflows/npm-publish.yml@77dcc391951a62ee0f1f076d6ef1bd3e5385eb42 | ||
| uses: 8hobbies/workflows/.github/workflows/npm-publish.yml@71e7c31d67cdf9e3f03cb62c72951f48215e4c82 | ||
| secrets: | ||
| npm-auth-token: ${{ secrets.NPM_TOKEN }} | ||
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -22,4 +22,4 @@ | |||||||||||||||||||
|
|
||||||||||||||||||||
| jobs: | ||||||||||||||||||||
| test: | ||||||||||||||||||||
| uses: 8hobbies/workflows/.github/workflows/npm-runtime.yml@77dcc391951a62ee0f1f076d6ef1bd3e5385eb42 | ||||||||||||||||||||
| uses: 8hobbies/workflows/.github/workflows/npm-runtime.yml@71e7c31d67cdf9e3f03cb62c72951f48215e4c82 | ||||||||||||||||||||
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
Copilot AutofixAI 8 months ago To fix the issue, we will add a
Suggested changeset
1
.github/workflows/runtime.yml
Copilot is powered by AI and may make mistakes. Always verify output.
Refresh and try again.
|
||||||||||||||||||||
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Copilot Autofix
AI 8 months ago
To fix the issue, we need to add a
permissionsblock to the workflow file.github/workflows/lint.yml. This block should specify the least privileges required for the workflow to function correctly. Since this is a linting workflow, it likely only needscontents: readpermission to access the repository's files for linting purposes.The
permissionsblock should be added at the root level of the workflow, ensuring it applies to all jobs, including the reusable workflow.