Update README.md #143
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
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 }} |