소스 검색

dont run pr update on forks (#4663)

Robert Brennan 1 년 전
부모
커밋
9442e4f9e3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      .github/workflows/ghcr-build.yml

+ 1 - 1
.github/workflows/ghcr-build.yml

@@ -401,7 +401,7 @@ jobs:
           exit 1
   update_pr_description:
     name: Update PR Description
-    if: github.event_name == 'pull_request'
+    if: github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork
     needs: [ghcr_build_runtime]
     runs-on: ubuntu-latest
     steps: