-
-
Notifications
You must be signed in to change notification settings - Fork 46
28 lines (27 loc) · 991 Bytes
/
branch-updater.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
name: Create pull requests from master
on:
#Push trigger
push:
branches:
- master
#Manual dispatch trigger
workflow_dispatch:
#Remote github trigger
repository_dispatch:
types: execute
jobs:
build:
# Job name is Greeting
name: Create Pull Requests
# This runs the job on ubuntu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Creates pull requests
run: |
git config user.name github-actions
git config user.email [email protected]
gh pr create --title "Merge master into vlc-support" --body "PR automatically created to keep branch up to date" --head doitandbedone:master --base vlc-support
gh pr create --title "Merge master into feature/workflow-version-tagger" --body "PR automatically created to keep branch up to date" --head doitandbedone:master --base feature/workflow-version-tagger
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}