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 30d7c9b commit ac83dbb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/image_build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ name: docker-image-push-admin
on:
push:
branches: [ master, cleanup-cicd ]


workflow_dispatch:

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

0 comments on commit ac83dbb

Please sign in to comment.