Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 28, 2025

Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.

This PR contains the following updates:

Package Type Update Change
8hobbies/workflows action digest 05401f5 -> b4d993f

Configuration

📅 Schedule: Branch creation - "on Sunday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from xuhdev as a code owner September 28, 2025 05:38
@renovate renovate bot enabled auto-merge (squash) September 28, 2025 05:38
jobs:
lint:
uses: 8hobbies/workflows/.github/workflows/npm-lint.yml@05401f51a9ee37f416b048394b9f3e4724bbc03f
uses: 8hobbies/workflows/.github/workflows/npm-lint.yml@b4d993fbc9bbda7422eab6cb21e469bf4ad10562

Check warning

Code 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 Autofix

AI 3 months ago

To fix the problem, you should add a permissions block at the root level of the workflow file (.github/workflows/lint.yml). This ensures the GITHUB_TOKEN receives only the minimum required privileges (typically just contents: read for a lint workflow). This block should be inserted below the workflow name (name: Lint) but above the on: specification so it's clear and applies globally to all jobs unless further restricted. No other code changes or imports are necessary; simply add the following YAML block:

permissions:
  contents: read

This restricts the workflow GITHUB_TOKEN to read repository contents, which is sufficient for a lint workflow and adheres to the principle of least privilege.

Suggested changeset 1
.github/workflows/lint.yml

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -13,6 +13,8 @@
 # limitations under the License.
 
 name: Lint
+permissions:
+  contents: read
 
 on:
   push:
EOF
@@ -13,6 +13,8 @@
# limitations under the License.

name: Lint
permissions:
contents: read

on:
push:
Copilot is powered by AI and may make mistakes. Always verify output.
jobs:
run:
uses: 8hobbies/workflows/.github/workflows/npm-publish-dry-run.yml@05401f51a9ee37f416b048394b9f3e4724bbc03f
uses: 8hobbies/workflows/.github/workflows/npm-publish-dry-run.yml@b4d993fbc9bbda7422eab6cb21e469bf4ad10562

Check warning

Code 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 Autofix

AI 3 months ago

To fix the issue, you should add an explicit permissions block to the workflow file. This can be done at the workflow level (top-level, applying to all jobs unless overridden) or at the job level (within jobs.run). Since the job simply invokes a reusable workflow (and the file is otherwise minimal), it is most appropriate and future-proof to add the permissions block at the top level—just after the name or on blocks. The safest minimal set (if the invoked workflow only needs to read the contents) is contents: read; if it needs additional permissions, you can expand as needed. In the absence of specific requirements, contents: read is the recommended starting point.

Suggested changeset 1
.github/workflows/publish-dry-run.yml

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/.github/workflows/publish-dry-run.yml b/.github/workflows/publish-dry-run.yml
--- a/.github/workflows/publish-dry-run.yml
+++ b/.github/workflows/publish-dry-run.yml
@@ -14,6 +14,9 @@
 
 name: Publish Dry Run
 
+permissions:
+  contents: read
+
 on:
   push:
     branches: ["master"]
EOF
@@ -14,6 +14,9 @@

name: Publish Dry Run

permissions:
contents: read

on:
push:
branches: ["master"]
Copilot is powered by AI and may make mistakes. Always verify output.
jobs:
test:
uses: 8hobbies/workflows/.github/workflows/npm-runtime.yml@05401f51a9ee37f416b048394b9f3e4724bbc03f
uses: 8hobbies/workflows/.github/workflows/npm-runtime.yml@b4d993fbc9bbda7422eab6cb21e469bf4ad10562

Check warning

Code 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 Autofix

AI 3 months ago

To resolve the issue, add a permissions block declaring the minimum required GitHub token permissions for the workflow at the top level, or within the job definition. Since there is only one job and it's a directly-used reusable workflow, the best place is at the root level (global for the workflow) after the name: and before on:. If you don't know the minimum permissions needed, you should start with the minimal recommended (e.g. contents: read) and refine later if workflows actually require more. No other changes are needed.

Suggested changeset 1
.github/workflows/runtime.yml

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/.github/workflows/runtime.yml b/.github/workflows/runtime.yml
--- a/.github/workflows/runtime.yml
+++ b/.github/workflows/runtime.yml
@@ -13,6 +13,8 @@
 # limitations under the License.
 
 name: Runtime
+permissions:
+  contents: read
 
 on:
   push:
EOF
@@ -13,6 +13,8 @@
# limitations under the License.

name: Runtime
permissions:
contents: read

on:
push:
Copilot is powered by AI and may make mistakes. Always verify output.
@renovate renovate bot merged commit 698fc3e into master Sep 28, 2025
13 checks passed
@renovate renovate bot deleted the renovate/all-digest branch September 28, 2025 05:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant