-
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into revert-2051592c
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,38 @@ | ||
extends: .github | ||
|
||
shared: | ||
# Automated pull requests from bot users | ||
is_a_bot: &is_a_bot | ||
- or: | ||
- "author=github-actions[bot]" | ||
|
||
# Default branches | ||
is_default_branch: &is_default_branch | ||
- or: | ||
- "base=main" | ||
- "base=master" | ||
|
||
# It's not closed or merged | ||
is_open: &is_open | ||
- and: | ||
- -merged | ||
- -closed | ||
|
||
pull_request_rules: | ||
- name: Trigger workflow dispatch on PR synchronized by github-actions[bot] | ||
conditions: | ||
- and: *is_a_bot | ||
- and: *is_open | ||
- and: *is_default_branch | ||
|
||
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 }}" |