From 9aaa4cd4435b875bd7553112f7b758d5c11b1286 Mon Sep 17 00:00:00 2001 From: Makram Kamaleddine Date: Mon, 19 Aug 2024 20:02:12 +0300 Subject: [PATCH] try out ref name --- .github/workflows/ccip-integration-test.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ccip-integration-test.yml b/.github/workflows/ccip-integration-test.yml index d8cdf90d7..031c55ace 100644 --- a/.github/workflows/ccip-integration-test.yml +++ b/.github/workflows/ccip-integration-test.yml @@ -3,8 +3,6 @@ name: "Run CCIP OCR3 Integration Test" on: pull_request: push: - branches: - - 'ccip-develop' jobs: integration-test-ccip-ocr3: @@ -38,8 +36,7 @@ jobs: if [ "${{ github.event_name }}" == "pull_request" ]; then COMMIT_SHA=${{ github.event.pull_request.head.sha }} else - COMMIT_SHA=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ - "https://api.github.com/repos/${{ github.repository }}/commits/${{ github.ref }}" | jq -r .sha) + COMMIT_SHA=${{ github.ref_name }} fi echo "::set-output name=sha::$COMMIT_SHA" - name: Update chainlink-ccip dependency in ccip