Skip to content

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

Merged
merged 1 commit into from
Jun 15, 2025
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 15, 2025

This PR contains the following updates:

Package Type Update Change
8hobbies/workflows action digest 2e83292 -> 48a7222

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) June 15, 2025 10:09
@renovate renovate bot requested a review from xuhdev as a code owner June 15, 2025 10:09
@@ -22,4 +22,4 @@

jobs:
lint:
uses: 8hobbies/workflows/.github/workflows/npm-lint.yml@2e83292d3d74551e5ea48dcd61ee7b905755c0b6
uses: 8hobbies/workflows/.github/workflows/npm-lint.yml@48a7222d056fc9b96243ff58bf4933e5ed4415e0

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 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. The permissions block should be set to contents: read to restrict access to the minimum required level.

The changes will be made to the .github/workflows/lint.yml file. Specifically:

  1. Add a permissions block at the root level of the workflow, above the jobs section.
  2. Set contents: read as the permission.
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
@@ -22,2 +22,5 @@
 
+permissions:
+  contents: read
+
 jobs:
EOF
@@ -22,2 +22,5 @@

permissions:
contents: read

jobs:
Copilot is powered by AI and may make mistakes. Always verify output.
@@ -22,4 +22,4 @@

jobs:
run:
uses: 8hobbies/workflows/.github/workflows/npm-publish-dry-run.yml@2e83292d3d74551e5ea48dcd61ee7b905755c0b6
uses: 8hobbies/workflows/.github/workflows/npm-publish-dry-run.yml@48a7222d056fc9b96243ff58bf4933e5ed4415e0

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

To fix the issue, add a permissions block at the root of the workflow file. This block will explicitly define the minimal permissions required for the workflow. Based on the context, the workflow likely needs contents: read to access repository contents and possibly no write permissions. If additional permissions are required, they can be added later.


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
@@ -16,2 +16,5 @@
 
+permissions:
+  contents: read
+
 on:
EOF
@@ -16,2 +16,5 @@

permissions:
contents: read

on:
Copilot is powered by AI and may make mistakes. Always verify output.
@@ -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 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 21 days ago

To fix the issue, add a permissions block at the root level of the workflow. This block will apply to all jobs in the workflow unless overridden by job-specific permissions. The permissions should be set to the least privilege required for the workflow to function correctly. Based on the context, the workflow likely requires read access to repository contents and possibly write access to pull requests.

The fix involves:

  1. Adding a permissions block at the root level of the workflow.
  2. Setting contents: read and pull-requests: write as the minimal permissions 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
@@ -16,2 +16,6 @@
 
+permissions:
+  contents: read
+  pull-requests: write
+
 on:
EOF
@@ -16,2 +16,6 @@

permissions:
contents: read
pull-requests: write

on:
Copilot is powered by AI and may make mistakes. Always verify output.
@renovate renovate bot merged commit 0d6ba9e into master Jun 15, 2025
13 checks passed
@renovate renovate bot deleted the renovate/all-digest branch June 15, 2025 10:12
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.

0 participants