create example pull request #5
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 Request from dev to test | |
on: | |
push: | |
branches: | |
- dev | |
jobs: | |
create-pull-request: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: extract git commit data | |
uses: rlespinasse/git-commit-data-action@v1.x | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
token: ${{ secrets.MY_GITHUB_TOKEN }} | |
base: test | |
head: dev | |
title: "Sync dev to test" | |
body: "This is an automated pull request to sync changes from dev to test." |