Skip to content

Commit

Permalink
chore: mergify
Browse files Browse the repository at this point in the history
  • Loading branch information
seaerchin committed Jun 24, 2024
1 parent 9c5707e commit af69e63
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
pull_request_rules:
- name: Approve and merge non-major version dependabot upgrades
conditions:
- author~=^dependabot\[bot\]$
- -dependabot-update-type = version-update:semver-major
actions:
review:
type: APPROVE
merge:
method: squash

- name: Approve and merge Snyk.io upgrades
conditions:
- author=isomeradmin
- title~=^\[Snyk\]
- base = develop
actions:
review:
type: APPROVE
merge:
method: squash

- name: Automatically mark a PR as draft if [WIP] is in the title
conditions:
- title~=(?i)\[wip\]
actions:
edit:
draft: True

- name: Ping Isomer members for stale open PRs (>1 month since last activity)
conditions:
- updated-at<30 days ago
- -closed
actions:
request_reviews:
teams:
- "@isomerpages/iso-engineers"
comment:
message: This pull request has been stale for more than 30 days! Could someone please take a look at it @isomerpages/iso-engineers

0 comments on commit af69e63

Please sign in to comment.