-
Notifications
You must be signed in to change notification settings - Fork 259
Bump all workflow actions to a more recent version #7144
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 |
|---|---|---|
|
|
@@ -34,14 +34,14 @@ jobs: | |
| steps: | ||
| # Checkout repos, FA repo is sparse checkout as it is quite large | ||
| - name: Checkout Brewlan Wikigen Repository | ||
| uses: actions/checkout@v4 | ||
| uses: actions/checkout@v7 | ||
| with: | ||
| repository: The-Balthazar/BrewWikiGen | ||
| path: ./brew-wiki-gen | ||
|
|
||
| # FA repo is sparse checkout as it is quite large and we dont won't to incur higher action minutes for no reason | ||
| - name: Checkout FAF Repository # -png folder doesnt exist yet, confirm location. | ||
| uses: actions/checkout@v4 | ||
| uses: actions/checkout@v7 | ||
|
Comment on lines
+37
to
+44
Contributor
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. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Verify action versions exist and check for breaking changes
echo "=== Checking actions/checkout v7 ==="
gh api repos/actions/checkout/git/refs/tags/v7 --jq '.ref' || echo "Tag v7 not found"
echo ""
echo "=== Checking actions/upload-artifact v7 ==="
gh api repos/actions/upload-artifact/git/refs/tags/v7 --jq '.ref' || echo "Tag v7 not found"
echo ""
echo "=== Checking leafo/gh-actions-lua v13 ==="
gh api repos/leafo/gh-actions-lua/git/refs/tags/v13 --jq '.ref' || echo "Tag v13 not found"
echo ""
echo "=== Recent releases for actions/checkout ==="
gh release list --repo actions/checkout --limit 10
echo ""
echo "=== Recent releases for actions/upload-artifact ==="
gh release list --repo actions/upload-artifact --limit 10
echo ""
echo "=== Recent releases for leafo/gh-actions-lua ==="
gh release list --repo leafo/gh-actions-lua --limit 10Repository: FAForever/fa Length of output: 1471 🌐 Web query:
💡 Result: The primary breaking change in actions/checkout v7, released on June 18, 2026, is a new security restriction regarding fork pull request checkouts [1][2]. Key changes in v7 include: 1. Blocked Fork PR Checkouts by Default: The action now refuses to check out code from a fork pull request when used in pull_request_target or workflow_run events (specifically when the workflow is triggered by a pull_request* event) [2][3]. This is designed to prevent "pwn request" vulnerabilities where untrusted fork code could execute in the privileged context of the base repository [2][3]. 2. Opt-in Mechanism: If your workflow requires this functionality, you must explicitly opt in by setting the new input allow-unsafe-pr-checkout to true [3]. Users are strongly advised to review the security risks associated with using pull_request_target before enabling this [2][3]. 3. ESM Migration: The action has been migrated to ESM (ECMAScript Modules) to support newer versions of underlying Citations:
🌐 Web query:
💡 Result: The transition to actions/upload-artifact v7, released on February 26, 2026, primarily introduced a new feature rather than traditional breaking changes [1][2]. The release is backward compatible because the new Citations:
🌐 Web query:
💡 Result: Version 13 of the leafo/gh-actions-lua GitHub Action, released on April 23, 2026, introduced several key changes [1][2]: Lua 5.5 Support The action added support for Lua 5.5.0 [1][3][4]. Consequently, the default luaVersion was updated to 5.5 (previously 5.4) [1][3]. ESM Migration The action's main.js file was converted to ES modules to maintain compatibility with updated GitHub Actions toolkit packages that are now ESM-only [1][4]. This change does not affect the action's API or inputs [1][3]. Dependency Upgrades The action updated several underlying Citations:
Address breaking changes in actions/checkout v7 and leafo/gh-actions-lua v13. The version bumps to actions/checkout v7 and leafo/gh-actions-lua v13 introduce breaking changes that may affect this workflow:
🧰 Tools🪛 zizmor (1.25.2)[error] 37-37: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy) (unpinned-uses) [error] 44-44: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy) (unpinned-uses) 🤖 Prompt for AI Agents |
||
| with: | ||
| path: ./fa | ||
| sparse-checkout-cone-mode: | | ||
|
|
@@ -56,13 +56,13 @@ jobs: | |
| projectiles | ||
|
|
||
| - name: Checkout FAF Wiki Repository | ||
| uses: actions/checkout@v4 | ||
| uses: actions/checkout@v7 | ||
| with: | ||
| repository: FAForever/fa.wiki | ||
| path: ./fa.wiki | ||
|
|
||
| - name: Install Lua 5.4 | ||
| uses: leafo/gh-actions-lua@v10 | ||
| uses: leafo/gh-actions-lua@v13 | ||
| with: | ||
| luaVersion: "5.4" | ||
|
|
||
|
|
@@ -76,7 +76,7 @@ jobs: | |
|
|
||
|
|
||
| - name: Upload as artifact | ||
| uses: actions/upload-artifact@v4 | ||
| uses: actions/upload-artifact@v7 | ||
| with: | ||
| name: Wiki | ||
| path: fa.wiki | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.