-
Notifications
You must be signed in to change notification settings - Fork 1
docs: add widget screenshots #6
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,7 +29,7 @@ jobs: | |
| steps: | ||
| - name: Resolve PR and access checks | ||
| id: pr | ||
| uses: actions/github-script@v8 | ||
| uses: actions/github-script@v9.0.0 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All updated third-party actions must be SHA-pinned. Lines 32, 110, 157, 164, 198, 215, and 276 use mutable tag refs. This violates the enforced 🔧 Example patch pattern- uses: actions/github-script@v9.0.0
+ uses: actions/github-script@<40-char-commit-sha> # v9.0.0
- uses: actions/checkout@v6.0.2
+ uses: actions/checkout@<40-char-commit-sha> # v6.0.2
- - uses: oven-sh/setup-bun@v2.2.0
+ - uses: oven-sh/setup-bun@<40-char-commit-sha> # v2.2.0
- uses: actions/setup-node@v6.4.0
+ uses: actions/setup-node@<40-char-commit-sha> # v6.4.0#!/bin/bash
set -euo pipefail
# Verify all workflow `uses:` refs are SHA-pinned.
# Expected result: no matches.
rg -nP '^\s*uses:\s*[^@\s]+@(?![0-9a-f]{40}\b).+$' .github/workflows/*.ymlAlso applies to: 110-110, 157-157, 164-164, 198-198, 215-215, 276-276 🧰 Tools🪛 zizmor (1.25.2)[error] 32-32: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy) (unpinned-uses) 🤖 Prompt for AI Agents |
||
| with: | ||
| script: | | ||
| const prNumber = context.eventName === 'workflow_dispatch' | ||
|
|
@@ -107,7 +107,7 @@ jobs: | |
| core.setOutput('head_sha', pr.head.sha); | ||
|
|
||
| - name: Mark publish as running | ||
| uses: actions/github-script@v8 | ||
| uses: actions/github-script@v9.0.0 | ||
| with: | ||
| script: | | ||
| const marker = '<!-- pr-beta-publish -->'; | ||
|
|
@@ -154,13 +154,14 @@ jobs: | |
| }); | ||
|
|
||
| - name: Check out PR head | ||
| uses: actions/checkout@v6 | ||
| uses: actions/checkout@v6.0.2 | ||
| with: | ||
| ref: ${{ steps.pr.outputs.head_sha }} | ||
| fetch-depth: 0 | ||
| filter: blob:none | ||
| persist-credentials: false | ||
|
|
||
| - uses: oven-sh/setup-bun@v2 | ||
| - uses: oven-sh/setup-bun@v2.2.0 | ||
|
|
||
| - name: Install dependencies | ||
| run: bun i | ||
|
|
@@ -194,7 +195,7 @@ jobs: | |
| run: bun run build | ||
|
|
||
| - name: Setup Node.js for npm publish | ||
| uses: actions/setup-node@v6 | ||
| uses: actions/setup-node@v6.4.0 | ||
| with: | ||
| node-version: 24.x | ||
| registry-url: 'https://registry.npmjs.org' | ||
|
|
@@ -211,7 +212,7 @@ jobs: | |
|
|
||
| - name: Publish success comment | ||
| if: ${{ success() }} | ||
| uses: actions/github-script@v8 | ||
| uses: actions/github-script@v9.0.0 | ||
| with: | ||
| script: | | ||
| const marker = '<!-- pr-beta-publish -->'; | ||
|
|
@@ -272,7 +273,7 @@ jobs: | |
|
|
||
| - name: Publish failure comment | ||
| if: ${{ failure() && steps.pr.outputs.pr_number != '' }} | ||
| uses: actions/github-script@v8 | ||
| uses: actions/github-script@v9.0.0 | ||
| with: | ||
| script: | | ||
| const marker = '<!-- pr-beta-publish -->'; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: Cap-go/capacitor-widget-kit
Length of output: 2087
Pin
actions/*workflowusesto commit SHAs (still mutable in this workflow)..github/workflows/pr_beta_prompt.ymluses mutable tags:actions/setup-node@v6.4.0actions/github-script@v9.0.0Pin both to full 40-char commit SHAs to satisfy the
unpinned-usespolicy.🧰 Tools
🪛 zizmor (1.25.2)
[error] 21-21: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy)
(unpinned-uses)
🤖 Prompt for AI Agents