Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 21, 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 e113c9f -> 05401f5

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 21, 2025 21:49
@renovate renovate bot enabled auto-merge (squash) September 21, 2025 21:49
jobs:
lint:
uses: 8hobbies/workflows/.github/workflows/npm-lint.yml@e113c9f0e34203f6766d0f79bef908a749faab88
uses: 8hobbies/workflows/.github/workflows/npm-lint.yml@05401f51a9ee37f416b048394b9f3e4724bbc03f

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 about 2 months ago

To fix the problem, an explicit permissions block should be added to the workflow at the root level (before jobs:). This will limit the permissions granted to the GITHUB_TOKEN for all jobs, including the one that calls the reusable workflow. Since linting jobs typically require only minimal access, the best minimal starting point is:

permissions:
  contents: read

This restricts the workflow to only reading repository contents, which suffices for linting and does not allow write actions on contents, issues, or pull requests. The change should be made in .github/workflows/lint.yml by adding the block after the name: field and before the on: block.

No additional methods, imports, or definitions are needed—just this YAML block.

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@e113c9f0e34203f6766d0f79bef908a749faab88
uses: 8hobbies/workflows/.github/workflows/npm-publish-dry-run.yml@05401f51a9ee37f416b048394b9f3e4724bbc03f

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 about 2 months ago

To resolve the issue, add an explicit permissions block to .github/workflows/publish-dry-run.yml at the top level, above jobs:. Since the workflow is primarily using a reusable workflow which likely interacts with repository contents (reading the code, perhaps reading secrets, but generally not needing to write unless publishing), start with a minimal permissions declaration such as contents: read. Additional write permissions should only be added if strictly necessary; if not, keep to least privilege. Insert the following at line 16 (just after the workflow name and before the on: trigger). No additional imports or modifications are required, only the addition of a permissions 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@e113c9f0e34203f6766d0f79bef908a749faab88
uses: 8hobbies/workflows/.github/workflows/npm-runtime.yml@05401f51a9ee37f416b048394b9f3e4724bbc03f

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 about 2 months ago

To fix the problem, add a permissions block at the root of the workflow (.github/workflows/runtime.yml) to explicitly limit permissions of GITHUB_TOKEN. The least-privilege starting point is usually setting all permissions to read (e.g., contents: read). If the workflow or the reusable workflow requires more permissions (e.g., to create or modify issues, PRs), those specific keys may be set to write. As only the detected code snippet is available, we will add a root-level permissions block with contents: read—this is the CodeQL-recommended minimal starting point.

  • Edit .github/workflows/runtime.yml
  • Insert a root-level permissions block after the name: (line 15)
  • Set contents: read unless context shows that broader permissions are required (not apparent here)
  • No imports or external dependencies required
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 e6f9e3c into master Sep 21, 2025
13 checks passed
@renovate renovate bot deleted the renovate/all-digest branch September 21, 2025 21:50
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