From 7b543d3c58edd8ed49b287f04cc7e1f06d7645f8 Mon Sep 17 00:00:00 2001 From: Mo Date: Fri, 24 Jun 2022 13:21:56 -0500 Subject: [PATCH] chore(workflow): repo sync --- .github/workflows/git-sync.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/git-sync.yml b/.github/workflows/git-sync.yml index e736d27f3..3d0e81025 100644 --- a/.github/workflows/git-sync.yml +++ b/.github/workflows/git-sync.yml @@ -1,3 +1,5 @@ +name: Sync Repo + on: push jobs: git-sync: @@ -18,6 +20,16 @@ jobs: repository: standardnotes/internal-app ref: ${{ github.ref }} + - name: Extract branch name + shell: bash + run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" + id: extract_branch + - uses: peter-evans/create-pull-request@v4 with: token: ${{ secrets.CI_PAT_TOKEN }} + branch: ${{ github.ref }} + base: main + title: ${{ steps.extract_branch.outputs.branch }} + assignees: ${{ github.actor }} + reviewers: ${{ github.actor }}