-
Notifications
You must be signed in to change notification settings - Fork 5
ci: bump github actions to latest versions #13
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 |
|---|---|---|
|
|
@@ -37,7 +37,7 @@ jobs: | |
| runner: windows-latest | ||
| cross: false | ||
| steps: | ||
| - uses: actions/checkout@v6 | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| - uses: jdx/mise-action@7e36c90d9ab29c415a2384db3006f3ec8a8cc654 # v4.2.4 | ||
| with: | ||
| install_args: rust | ||
|
|
@@ -64,7 +64,7 @@ jobs: | |
| shell: pwsh | ||
| run: | | ||
| Compress-Archive -Path target/${{ matrix.target }}/release/typdiff.exe -DestinationPath typdiff-${{ matrix.target }}.zip | ||
| - uses: actions/upload-artifact@v6 | ||
| - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | ||
| with: | ||
| name: typdiff-${{ matrix.target }} | ||
| path: typdiff-${{ matrix.target }}.* | ||
|
|
@@ -76,12 +76,12 @@ jobs: | |
| runs-on: ubuntu-latest | ||
| timeout-minutes: 10 | ||
| steps: | ||
| - uses: actions/download-artifact@v7 | ||
| - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 | ||
| with: | ||
| path: artifacts | ||
| merge-multiple: true | ||
| - name: Create GitHub Release | ||
| uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0 | ||
| uses: softprops/action-gh-release@3d0d9888cb7fd7b750713d6e236d1fcb99157228 # v3.0.2 | ||
| with: | ||
| generate_release_notes: true | ||
| files: artifacts/* | ||
|
|
@@ -97,13 +97,13 @@ jobs: | |
| id-token: write | ||
| contents: read | ||
| steps: | ||
| - uses: actions/checkout@v6 | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| - uses: jdx/mise-action@7e36c90d9ab29c415a2384db3006f3ec8a8cc654 # v4.2.4 | ||
| with: | ||
| install_args: rust | ||
| - name: Authenticate with crates.io | ||
| id: auth | ||
| uses: rust-lang/crates-io-auth-action@b7e9a28eded4986ec6b1fa40eeee8f8f165559ec # v1.0.3 | ||
| uses: rust-lang/crates-io-auth-action@c6f97d42243bad5fab37ca0427f495c86d5b1a18 # v1.0.5 | ||
|
Comment on lines
+100
to
+106
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. 🔒 Security & Privacy | 🟠 Major | ⚡ Quick win 🧩 Analysis chain🏁 Script executed: # Read the full release.yml workflow to understand job permissions and context
cat -n .github/workflows/release.ymlRepository: sou1118/typdiff Length of output: 4309 🏁 Script executed: # Check if there's documentation or defaults for jdx/mise-action caching
# First, let's see if there's an action.yml in the repository for this
fd -e yml -e yaml | head -20Repository: sou1118/typdiff Length of output: 153 🌐 Web query:
💡 Result: The Citations:
Security Misconfiguration (CWE-829): Inclusion of Functionality from Untrusted Control Sphere Reachability: Internal Disable caching in The Disable caching for this job by adding 🧰 Tools🪛 zizmor (1.29.0)[warning] 100-100: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false (artipacked) [error] 101-101: runtime artifacts potentially vulnerable to a cache poisoning attack (cache-poisoning): enables caching by default (cache-poisoning) 🤖 Prompt for AI AgentsSource: Linters/SAST tools |
||
| - name: Publish | ||
| run: cargo publish | ||
| env: | ||
|
|
||
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.
🔒 Security & Privacy | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: sou1118/typdiff
Length of output: 10149
🏁 Script executed:
Repository: sou1118/typdiff
Length of output: 764
Security Misconfiguration (CWE-522): Insufficiently Protected Credentials
Reachability: Internal · Exploitability: Difficult
Disable credential persistence on all four checkout steps. Add
persist-credentials: falseat.github/workflows/ci.yml:38,.github/workflows/ci.yml:51,.github/workflows/release.yml:40, and.github/workflows/release.yml:100. Also setpermissions: contents: readfor therelease.buildjob.🧰 Tools
🪛 zizmor (1.29.0)
[warning] 38-38: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false
(artipacked)
📍 Affects 2 files
.github/workflows/ci.yml#L38-L42(this comment).github/workflows/ci.yml#L51-L53.github/workflows/release.yml#L40-L40.github/workflows/release.yml#L100-L100🤖 Prompt for AI Agents
Source: Linters/SAST tools