From ad1f070c7782999543446d47dead5b2ad41a4b28 Mon Sep 17 00:00:00 2001 From: "stepsecurity-app[bot]" <188008098+stepsecurity-app[bot]@users.noreply.github.com> Date: Wed, 8 Jul 2026 17:09:57 +0000 Subject: [PATCH] [StepSecurity] Apply security best practices Signed-off-by: StepSecurity Bot --- .github/workflows/ci.yaml | 10 +++++----- .github/workflows/dev-publish.yaml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 76dca4e..52bbd52 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -64,7 +64,7 @@ jobs: echo "HASH=$HASH" >> $GITHUB_OUTPUT - name: Hex auth run: mix hex.organization auth fresha --key ${{ secrets.HEX_ORGANIZATION_WRITE_KEY }} - - uses: runs-on/cache@a5f51d6f3fece787d03b7b4e981c82538a0654ed # v4 + - uses: step-security/runs-on-cache@c5b0cba15d05488ebc630ad8d1e95b3d9b35ac73 # v5.0.7 id: deps-cache with: path: | @@ -79,7 +79,7 @@ jobs: echo "Installing dependencies" mix deps.get mix deps.compile - - uses: runs-on/cache@a5f51d6f3fece787d03b7b4e981c82538a0654ed # v4 + - uses: step-security/runs-on-cache@c5b0cba15d05488ebc630ad8d1e95b3d9b35ac73 # v5.0.7 id: build-cache with: path: '**/*' @@ -139,7 +139,7 @@ jobs: echo "HASH=$HASH" >> $GITHUB_OUTPUT - name: Hex auth run: mix hex.organization auth fresha --key ${{ secrets.HEX_ORGANIZATION_WRITE_KEY }} - - uses: runs-on/cache@a5f51d6f3fece787d03b7b4e981c82538a0654ed # v4 + - uses: step-security/runs-on-cache@c5b0cba15d05488ebc630ad8d1e95b3d9b35ac73 # v5.0.7 id: deps-cache with: path: | @@ -154,7 +154,7 @@ jobs: echo "Installing dependencies" mix deps.get mix deps.compile - - uses: runs-on/cache@a5f51d6f3fece787d03b7b4e981c82538a0654ed # v4 + - uses: step-security/runs-on-cache@c5b0cba15d05488ebc630ad8d1e95b3d9b35ac73 # v5.0.7 id: build-cache with: path: '**/*' @@ -221,7 +221,7 @@ jobs: echo "" echo "===============================================" - name: Cache Approval File - uses: runs-on/cache/save@a5f51d6f3fece787d03b7b4e981c82538a0654ed # v4 + uses: step-security/runs-on-cache/save@c5b0cba15d05488ebc630ad8d1e95b3d9b35ac73 # v5.0.7 with: path: approval.txt key: ${{ runner.os }}-${{ env.REPOSITORY }}-approval-${{ needs.static.outputs.HASH }} diff --git a/.github/workflows/dev-publish.yaml b/.github/workflows/dev-publish.yaml index 384a85d..0161c81 100644 --- a/.github/workflows/dev-publish.yaml +++ b/.github/workflows/dev-publish.yaml @@ -44,7 +44,7 @@ jobs: echo "APPROVAL PRODUCED BY SUCCESSFULL CHECKS EXECUTION WILL LAND IN CACHE" echo "HASH=$HASH" >> $GITHUB_OUTPUT - name: Check for CI successes - uses: runs-on/cache/restore@a5f51d6f3fece787d03b7b4e981c82538a0654ed # v4 + uses: step-security/runs-on-cache/restore@c5b0cba15d05488ebc630ad8d1e95b3d9b35ac73 # v5.0.7 with: key: ${{ runner.os }}-${{ env.REPOSITORY }}-approval-${{ steps.hash.outputs.HASH }} path: approval.txt