π λ°±κ΄μΈ 2024-03-06 #7
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} |