Skip to content

Update 8hobbies/workflows digest to b569198 #202

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
May 4, 2025
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 4, 2025

This PR contains the following updates:

Package Type Update Change
8hobbies/workflows action digest f5c8ef4 -> b569198

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

jobs:
lint:
uses: 8hobbies/workflows/.github/workflows/npm-lint.yml@f5c8ef425eb98fbd138800d88fddbbb867b60873
uses: 8hobbies/workflows/.github/workflows/npm-lint.yml@b569198ec9f37a053f8ca8ca4f73cd0659fe2a43

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

To fix the issue, we will add a permissions block at the root level of the workflow. Since this is a linting workflow, it likely only requires read access to the repository contents. We will set contents: read as the minimal permission. This ensures that the GITHUB_TOKEN has the least privileges necessary to execute the workflow.


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

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

To fix the issue, we will add a permissions block at the root level of the workflow. This block will define the minimal permissions required for the workflow to function. Since the workflow is performing a "publish dry run," it likely only needs contents: read permissions to access repository contents. If additional permissions are required, they can be added based on the specific needs of the reusable workflow.


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

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

To fix the issue, add a permissions block at the root of the workflow file. This block will explicitly define the permissions granted to the GITHUB_TOKEN for all jobs in the workflow. Based on the principle of least privilege, start with contents: read, which is sufficient for most basic CI workflows. If additional permissions are required by the reusable workflow, they can be added explicitly.


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,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.
@renovate renovate bot merged commit d616a63 into master May 4, 2025
13 checks passed
@renovate renovate bot deleted the renovate/all-digest branch May 4, 2025 10:00
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