Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,12 @@ jobs:
# actions/checkout v7 은 pull_request_target 에서 fork PR 코드 체크아웃을
# 기본 차단한다. 이 opt-in 이 없으면 fork PR 의 모든 job 이 checkout 에서 실패한다.
allow-unsafe-pr-checkout: true
# changepacks 는 base branch 를 refs/heads/<name> 에서 찾는데, checkout 은 SHA 를
# 주면 detached HEAD 로 두고 refs/remotes/origin/* 만 만든다. 그 로컬 ref 를 세운다.
- name: Materialize the base branch as a local ref
env:
BASE: ${{ github.event.pull_request.base.ref || github.ref_name }}
run: git branch --force "$BASE" "refs/remotes/origin/$BASE"
- uses: changepacks/action@main
id: changepacks
with:
Expand Down
Loading