소스 검색

fix(contributors): commit updates to base branch

Alvin Unreal 4 달 전
부모
커밋
99544aa902
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      .github/workflows/contributors.yml

+ 2 - 0
.github/workflows/contributors.yml

@@ -33,6 +33,7 @@ jobs:
         uses: actions/checkout@v4
         with:
           token: ${{ secrets.GITHUB_TOKEN }}
+          ref: ${{ github.event_name == 'workflow_dispatch' && github.event.repository.default_branch || github.event.pull_request.base.ref }}
 
       - name: Setup Bun
         uses: oven-sh/setup-bun@v2
@@ -53,3 +54,4 @@ jobs:
         with:
           commit_message: "docs: update contributors [skip ci]"
           file_pattern: ".all-contributorsrc README.md"
+          branch: ${{ github.event_name == 'workflow_dispatch' && github.event.repository.default_branch || github.event.pull_request.base.ref }}