-
-
Notifications
You must be signed in to change notification settings - Fork 0
fix(ci): unbreak workflow YAML and add a complete actions.lock #25
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
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 | ||||
|---|---|---|---|---|---|---|
| @@ -1,5 +1,6 @@ | ||||||
| # SPDX-License-Identifier: MPL-2.0 | ||||||
| # This workflow is managed by gh actions-lock. | ||||||
| # This workflow is managed by gh actions-lock. | ||||||
|
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. ⚪ LOW RISK Nitpick: Duplicate banner comment introduced; line 2 already contains this notice. Remove the redundant header line. This might be a simple fix:
Suggested change
|
||||||
| # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk> | ||||||
| # | ||||||
| # Lithoglyph CI — Build and test all components | ||||||
|
|
@@ -29,10 +30,10 @@ | |||||
|
|
||||||
| steps: | ||||||
| - name: Checkout | ||||||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||||||
| uses: actions/checkout@v7.0.1 | ||||||
|
|
||||||
| - name: Setup Zig | ||||||
| uses: goto-bus-stop/setup-zig@abea47f85e598557f500fa1fd2ab7464fcb39406 # v2.2.1 | ||||||
| uses: goto-bus-stop/setup-zig@v2.2.1 | ||||||
|
Check warning on line 36 in .github/workflows/ci.yml
|
||||||
|
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. 🔴 HIGH RISK Pin this third-party action to a full-length commit SHA for security. Using a mutable tag like 'v2.2.1' introduces a supply-chain risk. Try running the following prompt in your IDE agent:
|
||||||
| with: | ||||||
| version: '0.15.2' | ||||||
|
|
||||||
|
|
@@ -45,7 +46,7 @@ | |||||
| run: zig build test | ||||||
|
|
||||||
| - name: Upload Zig build artifacts | ||||||
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | ||||||
| uses: actions/upload-artifact@v7.0.1 | ||||||
| with: | ||||||
| name: zig-build | ||||||
| path: | | ||||||
|
|
@@ -63,7 +64,7 @@ | |||||
|
|
||||||
| steps: | ||||||
| - name: Checkout | ||||||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||||||
| uses: actions/checkout@v7.0.1 | ||||||
|
|
||||||
| - name: Install gforth | ||||||
| run: sudo apt-get update && sudo apt-get install -y gforth | ||||||
|
|
@@ -91,10 +92,10 @@ | |||||
|
|
||||||
| steps: | ||||||
| - name: Checkout | ||||||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||||||
| uses: actions/checkout@v7.0.1 | ||||||
|
|
||||||
| - name: Setup Zig | ||||||
| uses: goto-bus-stop/setup-zig@abea47f85e598557f500fa1fd2ab7464fcb39406 # v2.2.1 | ||||||
| uses: goto-bus-stop/setup-zig@v2.2.1 | ||||||
| with: | ||||||
| version: '0.15.2' | ||||||
|
|
||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| # SPDX-License-Identifier: MPL-2.0 | ||
| # This workflow is managed by gh actions-lock. | ||
| # This workflow is managed by gh actions-lock. | ||
| # | ||
| # dependabot-automerge.yml — enable GitHub's native auto-merge on | ||
| # Dependabot pull requests that match a declared severity / ecosystem | ||
|
|
@@ -55,7 +56,7 @@ | |
| steps: | ||
| - name: Fetch Dependabot metadata | ||
| id: meta | ||
| uses: dependabot/fetch-metadata@25dd0e34f4fe68f24cc83900b1fe3fe149efef98 # v3.1.0 | ||
| uses: dependabot/fetch-metadata@v3.1.0 | ||
|
Check warning on line 59 in .github/workflows/dependabot-automerge.yml
|
||
|
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. 🔴 HIGH RISK Pin 'fetch-metadata' to a commit SHA to secure the auto-merge workflow. |
||
| with: | ||
| github-token: ${{ secrets.GITHUB_TOKEN }} | ||
| # --- Policy gate ------------------------------------------------------- | ||
|
|
||
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.
⚪ LOW RISK
Nitpick: Duplicate banner comment introduced; line 2 already states the workflow is managed by gh actions-lock. You should remove this redundant line.