diff --git a/.github/actions/check-release/action.yml b/.github/actions/check-release/action.yml index 186eaa7583..d522952937 100644 --- a/.github/actions/check-release/action.yml +++ b/.github/actions/check-release/action.yml @@ -9,10 +9,11 @@ inputs: runs: using: composite steps: - - name: Checkout repository - uses: actions/checkout@v5 + - name: Checkout and setup environment + uses: MetaMask/action-checkout-and-setup@v3 with: - fetch-depth: 0 + is-high-risk-environment: false + skip-install: true - name: Get merge base id: merge-base diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 781af33ae7..b80e1f0939 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -87,6 +87,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v5 + with: + fetch-depth: 0 - name: Check release if: github.event_name != 'push' uses: ./.github/actions/check-release