From db7c75055b1dd190ca777b51374d84fa8bab6567 Mon Sep 17 00:00:00 2001 From: Etienne Stalmans Date: Mon, 30 Mar 2026 12:22:56 +0200 Subject: [PATCH] chore: pin actions to sha --- .github/workflows/coverage.yml | 4 ++-- .github/workflows/pgxn-release.yml | 2 +- .github/workflows/release.yml | 10 +++++----- .github/workflows/test.yml | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 648ba11..f6074c2 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v6 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - run: | # Add postgres package repo @@ -56,7 +56,7 @@ jobs: grcov . --binary-path ./target/debug/libpg_jsonschema.so --source-dir . --branch --ignore-not-existing --keep-only 'src/**' --output-type lcov --output-path lcov.info - name: Coveralls upload - uses: coverallsapp/github-action@v2 + uses: coverallsapp/github-action@5cbfd81b66ca5d10c19b062c04de0199c215fb6e # v2.3.7 with: github-token: ${{ secrets.GITHUB_TOKEN }} path-to-lcov: lcov.info diff --git a/.github/workflows/pgxn-release.yml b/.github/workflows/pgxn-release.yml index 5ec1ab6..a75852b 100644 --- a/.github/workflows/pgxn-release.yml +++ b/.github/workflows/pgxn-release.yml @@ -14,7 +14,7 @@ jobs: container: pgxn/pgxn-tools steps: - name: Check out the repo - uses: actions/checkout@v6 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Bundle the Release run: pgxn-bundle - name: Release on PGXN diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bfd3a28..891495b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: runs-on: ${{ matrix.box.runner }} timeout-minutes: 90 steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - id: build name: build release artifacts @@ -97,7 +97,7 @@ jobs: echo "artifact=${package_dir}.deb" >> "$GITHUB_OUTPUT" - name: Upload release artifact - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: ${{ steps.build.outputs.artifact }} path: ${{ steps.build.outputs.artifact }} @@ -109,13 +109,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v6 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Download release artifacts - uses: actions/download-artifact@v7 + uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 with: merge-multiple: true - name: Create Release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2.6.1 with: generate_release_notes: true draft: false diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 43cb748..01422d3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v6 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Build docker images run: docker compose -f .ci/docker-compose.yaml build