Skip to content

πŸ“ 백광인 2024-03-07 #8

πŸ“ 백광인 2024-03-07

πŸ“ 백광인 2024-03-07 #8

Workflow file for this run

name: PR 생성 μžλ™ν™”
on:
push:
branches-ignore: ["main", "dev"]
jobs:
create-pr:
runs-on: ubuntu-20.04
steps:
- name: Check out the code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Create Dynamic Pull Request
env:
GH_TOKEN: ${{ github.token }}
run: |
baseBranch=main
headBranch=$(git rev-parse --abbrev-ref HEAD)
git fetch origin ${baseBranch}:${baseBranch}
git log ${baseBranch}..${headBranch}
python ./.github/scripts/auto-pr.py ${baseBranch} ${headBranch}