diff --git a/.github/workflows/build-publish-develop-pr.yml b/.github/workflows/build-publish-develop-pr.yml index 3764d5058e5..696ed5eeeb8 100644 --- a/.github/workflows/build-publish-develop-pr.yml +++ b/.github/workflows/build-publish-develop-pr.yml @@ -160,7 +160,10 @@ jobs: runs-on: ubuntu-latest needs: [split, image-tag] permissions: + contents: read id-token: write + # To allow writing comments to the current PR + pull-requests: write steps: - name: Assume role capable of dispatching action uses: smartcontractkit/.github/actions/setup-github-token@ef78fa97bf3c77de6563db1175422703e9e6674f # setup-github-token@0.2.1 @@ -176,4 +179,5 @@ jobs: repo: chainlink github_token: ${{ steps.get-gh-token.outputs.access-token }} workflow_file_name: crib-integration-test.yml - client_payload: '{"git_ref": "${{ env.GIT_REF }}", "image-tag": "${{ needs.image-tag.outputs.image-tag }}"}' \ No newline at end of file + propagate_failure: true + client_payload: '{"image-tag": "${{ needs.image-tag.outputs.image-tag }}"}' diff --git a/.github/workflows/crib-integration-test.yml b/.github/workflows/crib-integration-test.yml index 5dd24167ab0..cdaac22e485 100644 --- a/.github/workflows/crib-integration-test.yml +++ b/.github/workflows/crib-integration-test.yml @@ -1,11 +1,10 @@ name: CRIB Integration Tests on: - pull_request: - paths: - - ".github/workflows/crib-integration-test.yml" - schedule: - - cron: "0 1 * * *" - workflow_call: + workflow_dispatch: + inputs: + image-tag: + required: true + description: The chainlink docker image tag to test against concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true @@ -89,7 +88,7 @@ jobs: command: "core-dev-simulated-core-ocr1" crib-alert-slack-webhook: ${{ secrets.CRIB_ALERT_SLACK_WEBHOOK }} product-image: ${{ secrets.AWS_SDLC_ECR_HOSTNAME }}/chainlink - product-image-tag: develop + product-image-tag: ${{ inputs.image-tag }} - uses: actions/checkout@v4.2.1 - name: Set up Go uses: ./.github/actions/setup-go