Skip to content

Commit

Permalink
trigger workflows with mergify
Browse files Browse the repository at this point in the history
  • Loading branch information
osterman committed Dec 24, 2024
1 parent ea91dcc commit 4ca9b0e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -1 +1,19 @@
extends: .github

pull_request_rules:
- name: Trigger workflow dispatch on PR synchronized by github-actions[bot]
conditions:
- author=github-actions[bot]
- current-state=open
- base=main # Change this to your default branch if needed
actions:
comment:
message: |
Triggering the workflow dispatch for preview build...
github_actions:
workflow:
dispatch:
- workflow: website-preview-build.yml
ref: "{{ pull_request.head.ref }}"
- workflow: test.yml
ref: "{{ pull_request.head.ref }}"

0 comments on commit 4ca9b0e

Please sign in to comment.