File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 4040 - name : Clone Repository
4141 run : |
4242 rm -rf ${{ env.COMPONENT_LIBRARY_PATH }}
43- git clone -b ${{ env.BRANCH_NAME }} https://github.com/${{ github.repository }} ${{ env.COMPONENT_LIBRARY_PATH }}
43+ if [ "${{ github.event_name }}" == "pull_request" ]; then
44+ REPO_URL="${{ github.event.pull_request.head.repo.clone_url }}"
45+ else
46+ REPO_URL="https://github.com/${{ github.repository }}"
47+ fi
48+ git clone -b ${{ env.BRANCH_NAME }} $REPO_URL ${{ env.COMPONENT_LIBRARY_PATH }}
4449
4550 - name : Install Component Library
4651 run : |
9499
95100 - name : Upload log file
96101 if : always()
97- uses : actions/upload-artifact@v3
102+ uses : actions/upload-artifact@v4
98103 with :
99104 name : ${{ env.LIBRARY_NAME }}-validation-workflow
100- path : ${{ github.workspace }}/workflow_logs.txt
105+ path : ${{ github.workspace }}/workflow_logs.txt
You can’t perform that action at this time.
0 commit comments