Skip to content

Commit

Permalink
GHA - Fix event name check
Browse files Browse the repository at this point in the history
  • Loading branch information
bradbown committed Oct 16, 2024
1 parent 7f2ffb9 commit b620fb7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coordinator-build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/postman-build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prover-build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/traces-api-facade-build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b620fb7

Please sign in to comment.