From a3804f99334fcbaee49aafd0a98ed29798e582b3 Mon Sep 17 00:00:00 2001 From: Kuntimaddi Manideep Date: Wed, 2 Dec 2026 17:08:48 +0530 Subject: [PATCH] ci(paypal): pin the setup composite action to commit SHAs Pin actions/setup-node and actions/cache/{restore,save} to the commits of their v4.4.0 and v4.3.0 releases, the same commits v4 points to today, so a moved or hijacked tag cannot change what runs. gh actions-lock cannot cover a composite action, so the pins are inline. Resolves all 3 zizmor unpinned-uses findings. --- .../.github/actions/setup/action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/@juspay-tech/react-native-hyperswitch-paypal/.github/actions/setup/action.yml b/packages/@juspay-tech/react-native-hyperswitch-paypal/.github/actions/setup/action.yml index 066f4f5e..7d341039 100644 --- a/packages/@juspay-tech/react-native-hyperswitch-paypal/.github/actions/setup/action.yml +++ b/packages/@juspay-tech/react-native-hyperswitch-paypal/.github/actions/setup/action.yml @@ -5,13 +5,13 @@ runs: using: composite steps: - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: node-version-file: .nvmrc - name: Restore dependencies id: yarn-cache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: path: | **/node_modules @@ -28,7 +28,7 @@ runs: - name: Cache dependencies if: steps.yarn-cache.outputs.cache-hit != 'true' - uses: actions/cache/save@v4 + uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: path: | **/node_modules