File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 88 push :
99 branches : ["main"]
1010 tags-ignore : ["v*-*"]
11- pull_request_target :
11+ pull_request :
1212 branches : ["main"]
1313 workflow_dispatch :
1414 inputs :
1919 type : boolean
2020
2121concurrency :
22- group : ${{ github.workflow }}-${{ github.ref }}
22+ group : ${{ github.workflow }}-${{ github.ref }}-${{ github.event.pull_request.head.repo.fork }}
2323 cancel-in-progress : true
2424
2525defaults :
3131 # Setup & Configuration
3232 Setup :
3333 name : " Setup & Configuration "
34+ if : ${{ !(github.event.pull_request.head.repo.fork && github.ref == 'refs/heads/main') }}
3435 runs-on : ubuntu-latest
3536 outputs :
3637 GitVersion_BranchName : ${{ steps.gitversion.outputs.GitVersion_BranchName }}
5859 uses : actions/checkout@v4
5960 with :
6061 fetch-depth : 0
62+
6163 - name : Install GitVersion
6264 uses :
gittools/actions/gitversion/[email protected] 6365 with :
You can’t perform that action at this time.
0 commit comments