From db15af207f2842535ea00d10481899738b73cbf7 Mon Sep 17 00:00:00 2001 From: LizardByte-bot <108553330+LizardByte-bot@users.noreply.github.com> Date: Tue, 3 Feb 2026 10:49:53 -0500 Subject: [PATCH] chore: update GitHub Actions to use commit hashes (#4659) --- .github/workflows/ci-archlinux.yml | 6 +++--- .github/workflows/ci-bundle.yml | 4 ++-- .github/workflows/ci-copr.yml | 2 +- .github/workflows/ci-flatpak.yml | 10 +++++----- .github/workflows/ci-freebsd.yml | 6 +++--- .github/workflows/ci-homebrew.yml | 8 ++++---- .github/workflows/ci-linux.yml | 8 ++++---- .github/workflows/ci-windows.yml | 10 +++++----- .github/workflows/ci.yml | 14 +++++++------- .github/workflows/localize.yml | 6 +++--- .github/workflows/release-notifier-moonlight.yml | 4 ++-- .github/workflows/update-pages.yml | 4 ++-- 12 files changed, 41 insertions(+), 41 deletions(-) diff --git a/.github/workflows/ci-archlinux.yml b/.github/workflows/ci-archlinux.yml index bf911c5e..a336dc4a 100644 --- a/.github/workflows/ci-archlinux.yml +++ b/.github/workflows/ci-archlinux.yml @@ -65,7 +65,7 @@ jobs: pacman -Scc --noconfirm - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Fix workspace permissions shell: bash @@ -153,7 +153,7 @@ jobs: if: >- always() && (steps.build.outcome == 'success' || steps.build.outcome == 'failure') - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: coverage-Archlinux path: | @@ -175,7 +175,7 @@ jobs: ls -la artifacts/ - name: Upload Artifacts - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: build-Archlinux path: artifacts/ diff --git a/.github/workflows/ci-bundle.yml b/.github/workflows/ci-bundle.yml index 68f536b7..d9edfd7c 100644 --- a/.github/workflows/ci-bundle.yml +++ b/.github/workflows/ci-bundle.yml @@ -14,11 +14,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Setup node id: node - uses: actions/setup-node@v6 + uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 - name: Install npm dependencies run: npm install --ignore-scripts diff --git a/.github/workflows/ci-copr.yml b/.github/workflows/ci-copr.yml index daf83d7c..4236c1d0 100644 --- a/.github/workflows/ci-copr.yml +++ b/.github/workflows/ci-copr.yml @@ -52,7 +52,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download build artifacts - uses: actions/download-artifact@v7 + uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 with: path: artifacts pattern: build-* diff --git a/.github/workflows/ci-flatpak.yml b/.github/workflows/ci-flatpak.yml index 11eec612..fb5ab350 100644 --- a/.github/workflows/ci-flatpak.yml +++ b/.github/workflows/ci-flatpak.yml @@ -39,13 +39,13 @@ jobs: clean-all: true - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: submodules: recursive - name: Setup node id: node - uses: actions/setup-node@v6 + uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 with: node-version: ${{ env.NODE_VERSION }} @@ -57,7 +57,7 @@ jobs: - name: Setup python id: python - uses: actions/setup-python@v6 + uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: '3.12' @@ -91,7 +91,7 @@ jobs: run: cat generated-sources.json - name: Cache Flatpak build - uses: actions/cache@v5 + uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 with: path: ./build/.flatpak-builder key: flatpak-${{ matrix.arch }}-${{ github.sha }} @@ -206,7 +206,7 @@ jobs: tar -czf ./artifacts/flathub.tar.gz -C ./flathub . - name: Upload Artifacts - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: build-Linux-Flatpak-${{ matrix.arch }} path: artifacts/ diff --git a/.github/workflows/ci-freebsd.yml b/.github/workflows/ci-freebsd.yml index 62f3b57d..a380b979 100644 --- a/.github/workflows/ci-freebsd.yml +++ b/.github/workflows/ci-freebsd.yml @@ -71,7 +71,7 @@ jobs: matrix: ${{ fromJson(needs.setup-matrix.outputs.matrix) }} steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: submodules: recursive @@ -258,7 +258,7 @@ jobs: if: >- always() && (steps.test_report.outcome == 'success') - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: coverage-FreeBSD-${{ matrix.bsd_release }}-${{ matrix.cmake_processor }} path: | @@ -267,7 +267,7 @@ jobs: if-no-files-found: error - name: Upload Artifacts - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: build-FreeBSD-${{ matrix.bsd_release }}-${{ matrix.cmake_processor }} path: artifacts/ diff --git a/.github/workflows/ci-homebrew.yml b/.github/workflows/ci-homebrew.yml index e91e1ba7..0e7194d6 100644 --- a/.github/workflows/ci-homebrew.yml +++ b/.github/workflows/ci-homebrew.yml @@ -57,7 +57,7 @@ jobs: safe-packages: brew - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Configure formula env: @@ -120,7 +120,7 @@ jobs: - name: Upload Artifacts if: matrix.release - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: build-Homebrew path: homebrew/ @@ -157,7 +157,7 @@ jobs: always() && matrix.release != true && (steps.test.outcome == 'success' || steps.test.outcome == 'failure') - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: coverage-Homebrew-${{ matrix.os_name }}-${{ matrix.os_version }} path: | @@ -201,7 +201,7 @@ jobs: - name: Upload Artifacts (Beta) if: matrix.release - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: beta-Homebrew path: homebrew/ diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/ci-linux.yml index 85af6a4f..80514c93 100644 --- a/.github/workflows/ci-linux.yml +++ b/.github/workflows/ci-linux.yml @@ -35,7 +35,7 @@ jobs: clean-all: true - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: submodules: recursive @@ -59,7 +59,7 @@ jobs: - name: Setup python id: python - uses: actions/setup-python@v6 + uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: '3.11' @@ -193,7 +193,7 @@ jobs: if: >- always() && (steps.test_report.outcome == 'success') - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: coverage-Linux-${{ matrix.name }} path: | @@ -202,7 +202,7 @@ jobs: if-no-files-found: error - name: Upload Artifacts - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: build-Linux-${{ matrix.name }} path: artifacts/ diff --git a/.github/workflows/ci-windows.yml b/.github/workflows/ci-windows.yml index 278a0807..2164df0c 100644 --- a/.github/workflows/ci-windows.yml +++ b/.github/workflows/ci-windows.yml @@ -31,13 +31,13 @@ jobs: toolchain: ucrt-x86_64 steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: submodules: recursive - name: Setup Dependencies Windows # if a dependency needs to be pinned, see https://github.com/LizardByte/build-deps/pull/186 - uses: msys2/setup-msys2@v2 + uses: msys2/setup-msys2@4f806de0a5a7294ffabaff804b38a9b435a73bda # v2.30.0 with: msystem: ${{ matrix.msystem }} update: true @@ -131,7 +131,7 @@ jobs: - name: Setup python id: setup-python - uses: actions/setup-python@v6 + uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: '3.11' @@ -210,7 +210,7 @@ jobs: if: >- always() && (steps.test_report.outcome == 'success') - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: coverage-${{ matrix.name }} path: | @@ -233,7 +233,7 @@ jobs: a "../artifacts/Sunshine-${{ matrix.name }}-debuginfo.7z" "*.dbg" - name: Upload Artifacts - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: build-${{ matrix.name }} path: artifacts/ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 81340cd6..685b9d0c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Release Setup id: release-setup @@ -193,18 +193,18 @@ jobs: - name: Checkout if: steps.should_run.outputs.SHOULD_RUN == 'true' - uses: actions/checkout@v6 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Download coverage artifact if: steps.should_run.outputs.SHOULD_RUN == 'true' - uses: actions/download-artifact@v7 + uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 with: name: coverage-${{ matrix.name }} path: _coverage - name: Upload test results if: steps.should_run.outputs.SHOULD_RUN == 'true' - uses: codecov/test-results-action@v1 + uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1 with: disable_search: true fail_ci_if_error: true @@ -217,7 +217,7 @@ jobs: if: | steps.should_run.outputs.SHOULD_RUN == 'true' && matrix.coverage != false - uses: codecov/codecov-action@v5 + uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2 with: disable_search: true fail_ci_if_error: true @@ -243,7 +243,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download build artifacts - uses: actions/download-artifact@v7 + uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 with: path: artifacts pattern: build-* @@ -276,7 +276,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download homebrew artifacts - uses: actions/download-artifact@v7 + uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 with: name: beta-Homebrew path: homebrew diff --git a/.github/workflows/localize.yml b/.github/workflows/localize.yml index ecbb2323..a793370b 100644 --- a/.github/workflows/localize.yml +++ b/.github/workflows/localize.yml @@ -23,10 +23,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Install Python 3.9 - uses: actions/setup-python@v6 # https://github.com/actions/setup-python + uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: '3.9' @@ -83,7 +83,7 @@ jobs: run: echo "date=$(date +'%Y-%m-%d')" >> "${GITHUB_OUTPUT}" - name: Create/Update Pull Request - uses: peter-evans/create-pull-request@v8 + uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0 with: add-paths: | locale/*.po diff --git a/.github/workflows/release-notifier-moonlight.yml b/.github/workflows/release-notifier-moonlight.yml index 0fc94fcf..6575434c 100644 --- a/.github/workflows/release-notifier-moonlight.yml +++ b/.github/workflows/release-notifier-moonlight.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Check if latest GitHub release id: check-release - uses: actions/github-script@v8 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: script: | const latestRelease = await github.rest.repos.getLatestRelease({ @@ -26,7 +26,7 @@ jobs: - name: discord if: steps.check-release.outputs.isLatestRelease == 'true' - uses: sarisia/actions-status-discord@v1 + uses: sarisia/actions-status-discord@eb045afee445dc055c18d3d90bd0f244fd062708 # v1.16.0 with: avatar_url: ${{ vars.ORG_LOGO_URL }}256 color: 0x${{ vars.COLOR_HEX_GREEN }} diff --git a/.github/workflows/update-pages.yml b/.github/workflows/update-pages.yml index b1170223..570c646e 100644 --- a/.github/workflows/update-pages.yml +++ b/.github/workflows/update-pages.yml @@ -19,10 +19,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Upload artifact - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: prep path: gh-pages-template/