Skip to content

Create Pull Request #1886

Create Pull Request

Create Pull Request #1886

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