File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11name : Content Checks
22on :
3- pull_request_target :
3+ pull_request :
44 types :
55 - opened
66 - synchronize
1313 workflow_dispatch : # Allows you to run this workflow manually from the Actions tab
1414concurrency :
1515 group : content-checks-${{ github.event_name }}-${{ github.event.pull_request.number }}
16- cancel-in-progress : ${{ github.event_name == 'pull_request_target ' }}
16+ cancel-in-progress : ${{ github.event_name == 'pull_request ' }}
1717jobs :
1818 quality :
1919 name : Quality Checks
2929 fetch-depth : 2
3030
3131 - name : Sparse checkout of content directory from fork to temp directory
32- if : ${{ github.event_name == 'pull_request_target ' }}
32+ if : ${{ github.event_name == 'pull_request ' }}
3333 uses : actions/checkout@v3
3434 with :
3535 ref : ${{ github.event.pull_request.head.sha }}
3939 fetch-depth : 1
4040
4141 - name : Move the content from temp directory to main repo's content directory
42- if : ${{ github.event_name == 'pull_request_target ' }}
42+ if : ${{ github.event_name == 'pull_request ' }}
4343 run : |
4444 rm -rf content/
4545 ls -la temp_content/content/
You can’t perform that action at this time.
0 commit comments