Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Aug 17, 2025

This PR contains the following updates:

Package Type Update Change
8hobbies/workflows action digest 951751b -> a18577b

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) August 17, 2025 21:52
@renovate renovate bot requested a review from xuhdev as a code owner August 17, 2025 21:52
jobs:
lint:
uses: 8hobbies/workflows/.github/workflows/npm-lint.yml@951751b0bff51b137e19de492856b6405a1ad610
uses: 8hobbies/workflows/.github/workflows/npm-lint.yml@a18577bc6b2ba0ee90caea4c978504a835d07977

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, add a permissions block to the workflow to explicitly limit the permissions granted to the GITHUB_TOKEN. Since this is a lint job, it likely only needs read access to the repository contents. The best way to fix this is to add a permissions block at the root level of the workflow (before jobs:), specifying contents: read. This ensures that all jobs in the workflow, including those using reusable workflows, will have only the minimum required permissions. Edit .github/workflows/lint.yml to insert the following block after the name: line and before the on: block:

permissions:
  contents: read

No additional imports or definitions are needed.

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
@@ -14,6 +14,9 @@
 
 name: Lint
 
+permissions:
+  contents: read
+
 on:
   push:
     branches: ["master"]
EOF
@@ -14,6 +14,9 @@

name: Lint

permissions:
contents: read

on:
push:
branches: ["master"]
Copilot is powered by AI and may make mistakes. Always verify output.
jobs:
run:
uses: 8hobbies/workflows/.github/workflows/npm-publish-dry-run.yml@951751b0bff51b137e19de492856b6405a1ad610
uses: 8hobbies/workflows/.github/workflows/npm-publish-dry-run.yml@a18577bc6b2ba0ee90caea4c978504a835d07977

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, add a permissions block at the top level of the workflow file (just after the name: or before/after the on: block). This block should specify the minimal permissions required for the workflow to function. Since this workflow only delegates to a reusable workflow and does not appear to require any write access, the safest minimal starting point is contents: read. If the reusable workflow requires more, you can adjust accordingly, but starting with contents: read is recommended. The change should be made in .github/workflows/publish-dry-run.yml by inserting the permissions: block after the name: line.

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@951751b0bff51b137e19de492856b6405a1ad610
uses: 8hobbies/workflows/.github/workflows/npm-runtime.yml@a18577bc6b2ba0ee90caea4c978504a835d07977

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, add a permissions block to the workflow file. This can be done at the top level (applies to all jobs) or at the job level (applies to a specific job). Since this workflow only defines a single job (test), either location is acceptable, but adding it at the top level is clearer and future-proof. The minimal safe starting point is permissions: {} (no permissions), but if the reusable workflow requires specific permissions, you should grant only those. Since we do not know the exact requirements of the called workflow, the best fix is to add permissions: {} at the top level, just after the name: key and before on:.

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,7 @@
 # limitations under the License.
 
 name: Runtime
+permissions: {}
 
 on:
   push:
EOF
@@ -13,6 +13,7 @@
# limitations under the License.

name: Runtime
permissions: {}

on:
push:
Copilot is powered by AI and may make mistakes. Always verify output.
@renovate renovate bot merged commit c8a3452 into master Aug 17, 2025
13 checks passed
@renovate renovate bot deleted the renovate/all-digest branch August 17, 2025 21:54
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