Skip to content

Commit 9b09e7a

Browse files
Update .github/workflows/cd.yml
Co-authored-by: Joey <90795735+joey-grafana@users.noreply.github.com>
1 parent 2337f46 commit 9b09e7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ permissions:
1616

1717
jobs:
1818
CD:
19-
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
19+
if: ${{ github.event_name == 'workflow_dispatch' || (github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push' && github.event.workflow_run.head_repository.full_name == github.repository }}
2020
name: Deploy plugin
2121
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@ci-cd-workflows/v7.0.0
2222
with:

0 commit comments

Comments
 (0)