Skip to content

Commit

Permalink
Changing trigger back to workflow dispatch with reusable workflows
Browse files Browse the repository at this point in the history
Reusable workflow call event type is the same as parent workflow.
So since server event is push, cascaded workflows also have event type as push.

Hence, adding workflow dispatch again which trigger the workflows in the other repos which themselves use reusable workflow.
Hopefully this marks event-type as workflow dispatch.
- Server workflow event would be push.
- Other repo workflow events would be dispatch.
    - These repos then call the reusable workflow which should have event type as dispatch.
  • Loading branch information
MukuFlash03 committed Sep 29, 2024
1 parent 365cf3a commit 41fc3cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/image_build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches: [ main, cleanup-cicd ]

workflow_dispatch:

jobs:
dump_contexts_to_log:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 41fc3cc

Please sign in to comment.