-
Notifications
You must be signed in to change notification settings - Fork 0
Update 8hobbies/workflows digest to 48a7222 #218
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@2e83292d3d74551e5ea48dcd61ee7b905755c0b6 | ||
uses: 8hobbies/workflows/.github/workflows/npm-publish.yml@48a7222d056fc9b96243ff58bf4933e5ed4415e0 | ||
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@2e83292d3d74551e5ea48dcd61ee7b905755c0b6 | |||||||||||||||||||||||
uses: 8hobbies/workflows/.github/workflows/npm-runtime.yml@48a7222d056fc9b96243ff58bf4933e5ed4415e0 | |||||||||||||||||||||||
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 21 days ago To fix the issue, add a The fix involves:
Suggested changeset
1
.github/workflows/runtime.yml
Copilot is powered by AI and may make mistakes. Always verify output.
Positive FeedbackNegative Feedback
Refresh and try again.
|
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Copilot Autofix
AI 21 days ago
To fix the issue, add a
permissions
block to the root of the workflow. Since the workflow performs linting tasks, it likely only requires read access to the repository contents. Thepermissions
block should be set tocontents: read
to restrict access to the minimum required level.The changes will be made to the
.github/workflows/lint.yml
file. Specifically:permissions
block at the root level of the workflow, above thejobs
section.contents: read
as the permission.