-
Notifications
You must be signed in to change notification settings - Fork 619
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add merge queue trigger for required workflows (#6860)
**Context:** This pull request adds a new trigger to the existing workflows that run `on.pull_request`. This trigger indicates to GitHub which workflows needs to be run when a merge queue is building. **Description of the Change:** The change is adding `on.merge_group` to our required workflows. **Benefits:** This change itself will not enable merge queues, that needs to be enabled from the admin settings of branch protection rules. The changes in this PR mainly tell merge queues which workflows to run. **Possible Drawbacks:** Usage of merge queue is a new thing for pennylane, if issues arise we can rollback. **Related GitHub Issues:** None. [sc-82039]
- Loading branch information
Showing
5 changed files
with
15 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
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,5 +1,8 @@ | ||
name: Formatting check | ||
on: | ||
merge_group: | ||
types: | ||
- checks_requested | ||
pull_request: | ||
types: | ||
- opened | ||
|
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,6 +1,9 @@ | ||
name: Validate module imports | ||
|
||
on: | ||
merge_group: | ||
types: | ||
- checks_requested | ||
pull_request: | ||
types: | ||
- opened | ||
|
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 |
---|---|---|
|
@@ -3,6 +3,9 @@ on: | |
push: | ||
branches: | ||
- master | ||
merge_group: | ||
types: | ||
- checks_requested | ||
pull_request: | ||
types: | ||
- opened | ||
|
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