소스 검색

Checkout action needs explicit sha for pull request target

nuwang 2 년 전
부모
커밋
23112e9324
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      .github/workflows/integration.yaml

+ 2 - 0
.github/workflows/integration.yaml

@@ -22,6 +22,8 @@ jobs:
     steps:
       - name: Checkout code
         uses: actions/checkout@v2
+        with:
+          ref: ${{ github.event.pull_request.head.sha }}
 
       - name: Setup Python
         uses: actions/setup-python@v2