Create Pull Request #739
Workflow file for this run
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 | |
on: create | |
jobs: | |
create-pr: | |
runs-on: ubuntu-latest | |
if: github.actor != 'dependabot[bot]' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: get branch name | |
id: vars | |
run: | | |
branch=$(echo ${{ github.ref }} | sed -r 's/refs\/heads\///') | |
echo ::set-output name=branch::${branch} | |
- name: pull-request | |
uses: repo-sync/pull-request@v2 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
destination_branch: "develop" | |
pr_title: Pulling ${{ steps.vars.outputs.branch }} into develop |