Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Commit

Permalink
workflow: Update condition for notification on PR
Browse files Browse the repository at this point in the history
The notification job in cherry-pick workflow should
only be triggered if the cherry pick label was set and the
MR was merged.

Signed-off-by: Navid Shaikh <navids@vmware.com>
  • Loading branch information
navidshaikh committed Feb 24, 2023
1 parent 3e400c8 commit 289dfb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cherry-pick.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
runs-on: ubuntu-latest
name: Notify release-0.28 cherry-pick status
needs: [cherry_pick_release_v0_28]
if: always()
if: ${{ contains(github.event.pull_request.labels.*.name, 'cherry-pick/release-0.28') && github.event.pull_request.merged == true }}
steps:
- id: check
uses: martialonline/workflow-status@v3
Expand Down

0 comments on commit 289dfb2

Please # to comment.