-
Notifications
You must be signed in to change notification settings - Fork 237
41 lines (36 loc) · 1.13 KB
/
cherry-pick-electron-bumps.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# This job will automatically create a cherry-pick PR for any update to the electron version on the dev branch.
# It allows the staging and main branch to stay up-to-date with dependabot electron bumps on dev.
name: Cherry-pick Electron bumps
on:
push:
branches:
- 'v/merge-from-test'
permissions:
pull-requests: write
contents: write
jobs:
cherry_pick:
env:
PR_TITLE: $
if: ${{ github.event.pull_request.title }} == '*test test test*'
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Create PR to mtt
uses: gorillio/github-action-cherry-pick@master
with:
pr_branch: 'v/merge-to-test'
env:
GITHUB_TOKEN: ${{secrets.OTTO_THE_BOT_GH_TOKEN}}
- name: Create PR to mtt2
uses: gorillio/github-action-cherry-pick@master
with:
pr_branch: 'v/merge-to-test-2'
env:
GITHUB_TOKEN: ${{secrets.OTTO_THE_BOT_GH_TOKEN}}
# testing auto merge on the desktop repo
# testing auto merge on the desktop repo
# testing auto merge on the desktop repo