Skip to content

Commit

Permalink
fix(github): use event name workflow_run and conclusion (flipt-io#1438)
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeMac committed Mar 24, 2023
1 parent 7a7f08f commit 05b77ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-clients.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
gh workflow run proto-upgrade.yml -R flipt-io/flipt-grpc-ruby -f tag="${{ inputs.tag }}"
- name: Trigger Workflow (Release)
if: ${{ github.event_name == 'release' }}
if: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success' }}
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
run: |
Expand Down

0 comments on commit 05b77ca

Please sign in to comment.