✅ 백광인 2024-03-10 발표자료 업로드 #11
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: 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} |