diff --git a/.github/workflows/test-uat-suite.yaml b/.github/workflows/test-uat-suite.yaml index b6916708..ab7fc76c 100644 --- a/.github/workflows/test-uat-suite.yaml +++ b/.github/workflows/test-uat-suite.yaml @@ -12,10 +12,10 @@ jobs: EQUINIX_API_ENDPOINT: "https://uatapi.equinix.com" steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - id: actions-checkout + - name: Check out code into the Go module directory + uses: actions/checkout@v4 with: - ref: main + ref: ${{ github.event.pull_request.head.sha || github.ref }} - name: Set up Go uses: actions/setup-go@v5