diff --git a/.github/workflows/coordinator-build-and-publish.yml b/.github/workflows/coordinator-build-and-publish.yml index 469300132..1ba7e6b28 100644 --- a/.github/workflows/coordinator-build-and-publish.yml +++ b/.github/workflows/coordinator-build-and-publish.yml @@ -39,7 +39,7 @@ jobs: name: Coordinator build steps: - name: Set environment variables for workflow_call - if: ${{ github.event_name == 'workflow_call' }} + if: ${{ github.event_name == 'pull_request' }} run: | echo "COMMIT_TAG=${{ inputs.commit_tag }}" >> $GITHUB_ENV echo "DEVELOP_TAG=${{ inputs.develop_tag }}" >> $GITHUB_ENV diff --git a/.github/workflows/postman-build-and-publish.yml b/.github/workflows/postman-build-and-publish.yml index e1a5b121b..7224949d5 100644 --- a/.github/workflows/postman-build-and-publish.yml +++ b/.github/workflows/postman-build-and-publish.yml @@ -39,7 +39,7 @@ jobs: name: Postman build steps: - name: Set environment variables for workflow_call - if: ${{ github.event_name == 'workflow_call' }} + if: ${{ github.event_name == 'pull_request' }} run: | echo "COMMIT_TAG=${{ inputs.commit_tag }}" >> $GITHUB_ENV echo "DEVELOP_TAG=${{ inputs.develop_tag }}" >> $GITHUB_ENV diff --git a/.github/workflows/prover-build-and-publish.yml b/.github/workflows/prover-build-and-publish.yml index 0180743ac..8f6df44a6 100644 --- a/.github/workflows/prover-build-and-publish.yml +++ b/.github/workflows/prover-build-and-publish.yml @@ -42,7 +42,7 @@ jobs: name: Prover build steps: - name: Set environment variables for workflow_call - if: ${{ github.event_name == 'workflow_call' }} + if: ${{ github.event_name == 'pull_request' }} run: | echo "COMMIT_TAG=${{ inputs.commit_tag }}" >> $GITHUB_ENV echo "DEVELOP_TAG=${{ inputs.develop_tag }}" >> $GITHUB_ENV diff --git a/.github/workflows/traces-api-facade-build-and-publish.yml b/.github/workflows/traces-api-facade-build-and-publish.yml index 927de0624..6b8758ac6 100644 --- a/.github/workflows/traces-api-facade-build-and-publish.yml +++ b/.github/workflows/traces-api-facade-build-and-publish.yml @@ -38,11 +38,8 @@ jobs: runs-on: [self-hosted, ubuntu-20.04, X64, small] name: Traces api facade build steps: - - name: debug - run: | - echo "${{ github.event_name }}" - name: Set environment variables for workflow_call - if: ${{ github.event_name == 'workflow_call' }} + if: ${{ github.event_name == 'pull_request' }} run: | echo "COMMIT_TAG=${{ inputs.commit_tag }}" >> $GITHUB_ENV echo "DEVELOP_TAG=${{ inputs.develop_tag }}" >> $GITHUB_ENV