Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 16, 2025

This PR contains the following updates:

Package Type Update Change
8hobbies/workflows action digest 23566a1 -> 6ffa892

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 enabled auto-merge (squash) November 16, 2025 02:39
@renovate renovate bot requested a review from xuhdev as a code owner November 16, 2025 02:39
jobs:
lint:
uses: 8hobbies/workflows/.github/workflows/npm-lint.yml@23566a16aca822bf91e20bf57b5715869e181339
uses: 8hobbies/workflows/.github/workflows/npm-lint.yml@6ffa892638c05b08601b32c5baa4bbf9a858b620

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 26 days ago

To fix the problem, add a permissions block at the workflow root level in .github/workflows/lint.yml. This will set explicit, least-privilege permissions for all jobs unless they define overrides. For a lint-only workflow, the minimum required permission is most likely contents: read, since no writing to the repository, issues, or other resources is expected.
The change should be made directly under the workflow name and before the on: block (typically lines 15-16).
No imports or external definitions are required; just add a YAML mapping.


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@23566a16aca822bf91e20bf57b5715869e181339
uses: 8hobbies/workflows/.github/workflows/npm-publish-dry-run.yml@6ffa892638c05b08601b32c5baa4bbf9a858b620

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 26 days ago

To fix this issue, you should add a permissions block at the root of the workflow file, directly under the workflow name: and before the on: block. This restricts the default token permissions for all jobs (including any jobs/external workflows run via uses:). For most publish "dry-run" workflows, contents: read will suffice unless the workflow, or the reusable workflow it calls, explicitly needs additional permissions (such as for creating pull requests or writing packages). Since we don't have details on additional permissions required, the safest minimal starting point per the recommendation is:

permissions:
  contents: read

If in the future the reusable workflow requires additional permissions, you can add them as needed.

Where to edit:
In .github/workflows/publish-dry-run.yml, add the above block after the name: field (line 15 or 16), just before the on: block.


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
@@ -13,6 +13,8 @@
 # limitations under the License.
 
 name: Publish Dry Run
+permissions:
+  contents: read
 
 on:
   push:
EOF
@@ -13,6 +13,8 @@
# limitations under the License.

name: Publish Dry Run
permissions:
contents: read

on:
push:
Copilot is powered by AI and may make mistakes. Always verify output.
jobs:
test:
uses: 8hobbies/workflows/.github/workflows/npm-runtime.yml@23566a16aca822bf91e20bf57b5715869e181339
uses: 8hobbies/workflows/.github/workflows/npm-runtime.yml@6ffa892638c05b08601b32c5baa4bbf9a858b620

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 26 days ago

To fix this problem without changing the workflow's existing logic or functionality, add a permissions block near the top of the workflow file, immediately after the name: field and before the on: field. This block should specify the least privilege necessary. If you are unsure what is required, the absolute lowest privilege would be contents: read, which permits actions like checking out code but not writing back. If the reusable workflow needs more than read access to repository contents, you would adjust accordingly, but it's always safest to start restrictive.

Steps:

  • Add a permissions: block at the workflow root (after name:).
  • For minimal privilege, use permissions: contents: read.

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 bdf6804 into master Nov 16, 2025
13 checks passed
@renovate renovate bot deleted the renovate/all-digest branch November 16, 2025 02:41
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