Skip to content

Commit

Permalink
ci: ready mergify for version-15
Browse files Browse the repository at this point in the history
skip ci test for beta branches
  • Loading branch information
akurungadam committed Nov 12, 2023
1 parent dbab04f commit 0799038
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
name: CI

on:
push:
branches: [develop, version-14-hotfix, version-14]
paths-ignore:
- "**.css"
- "**.js"
- "**.md"
- "**.html"
- "**.csv"

pull_request:
paths-ignore:
- "**.css"
- "**.js"
- "**.md"
- "**.html"
- "**.csv"
branches-ignore:
- version-**-beta
schedule:
# Run everday at midnight UTC / 5:30 IST
- cron: "0 0 * * *"
Expand All @@ -30,7 +23,7 @@ concurrency:
jobs:
tests:
runs-on: ubuntu-latest
timeout-minutes: 20
timeout-minutes: 30

strategy:
fail-fast: false
Expand Down
13 changes: 13 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ pull_request_rules:
- author!=akurungadam
- author!=frappe-pr-bot
- author!=mergify[bot]
- or:
- base=version-16
- base=version-15
- base=version-14
actions:
close:
Expand Down Expand Up @@ -53,3 +56,13 @@ pull_request_rules:
- version-14-hotfix
assignees:
- "{{ author }}"

- name: backport to version-15-hotfix
conditions:
- label="backport version-15-hotfix"
actions:
backport:
branches:
- version-15-hotfix
assignees:
- "{{ author }}"

0 comments on commit 0799038

Please sign in to comment.