@@ -18,29 +18,29 @@ inputs:
1818 Default value:
1919 - `push` and `pull_request` workflow: `github.event.after`
2020 - `workflow_run` workflow triggered by a `pull_request` or `push` workflow: `github.event.workflow_run.head_sha`
21- default : " ${{ ('workflow_run' == github.event_name && ('pull_request' == github.workflow_run.event || 'push' == github.workflow_run.event) && github.event.workflow_run.head_sha) || (('pull_request' == github.event_name || 'push' == github.event_name) && github.event.pull_request.head.sha) || null }}"
21+ default : " ${{ ('workflow_run' == github.event_name && ('pull_request' == github.event. workflow_run.event || 'push' == github.event .workflow_run.event) && github.event.workflow_run.head_sha) || (('pull_request' == github.event_name || 'push' == github.event_name) && github.event.pull_request.head.sha) || null }}"
2222 override-branch :
2323 description : |
2424 Branch to link to the uploaded reports.
2525 Default value:
2626 - `push` workflow: `github.ref_name` *if `github.ref_type` equals `branch`
2727 - `pull_request` workflow: `github.event.pull_request.head.ref`
2828 - `workflow_run` workflow triggered by a `pull_request` or `push` workflow: `github.event.workflow_run.head_branch`
29- default : " ${{ ('workflow_run' == github.event_name && ('pull_request' == github.workflow_run.event || 'push' == github.workflow_run.event) && github.event.workflow_run.head_branch) || ('pull_request' == github.event_name && github.event.pull_request.head.ref) || ('push' == github.event_name && 'branch' == github.ref_type && github.sha ) || null }}"
29+ default : " ${{ ('workflow_run' == github.event_name && ('pull_request' == github.event. workflow_run.event || 'push' == github.event. workflow_run.event) && github.event.workflow_run.head_branch) || ('pull_request' == github.event_name && github.event.pull_request.head.ref) || ('push' == github.event_name && 'branch' == github.ref_type && github.ref_name ) || null }}"
3030 override-pr :
3131 description : |
3232 PR to link to the uploaded reports.
3333 Default value:
3434 - `pull_request` workflow: `github.event.number`
3535 - `workflow_run` workflow triggered by a `pull_request` workflow: `github.event.workflow_run.pull_requests[0].number`
36- default : " ${{ ( 'workflow_run' == github.event_name && 'pull_request' == github.workflow_run.event && github.event.workflow_run.pull_requests[0] && github.event.workflow_run.pull_requests[0].number) || ('pull_request' == github.event_name && github.event.number) || null }}"
36+ default : " ${{ ( 'workflow_run' == github.event_name && 'pull_request' == github.event. workflow_run.event && github.event.workflow_run.pull_requests[0] && github.event.workflow_run.pull_requests[0].number) || ('pull_request' == github.event_name && github.event.number) || null }}"
3737# commit-parent: # @TODO Not sure what it is (enable debug mode during upload to see what is actually sent by the uploader)
3838# description: |
3939# Parent commit to link to the uploaded reports. Most likely only useful for PR.
4040# Default value:
4141# - `pull_request` workflow: `github.event.number`
4242# - `workflow_run` workflow triggered by a `pull_request` workflow: `github.event.workflow_run.pull_requests[0].number`
43- # default: "${{ ('workflow_run' == github.event_name && ('pull_request' == github.workflow_run.event || 'push' == github.workflow_run.event) && github.event.workflow_run.head_branch) || ('pull_request' == github.event_name && github.event.pull_request.head.ref) || ('push' == github.event_name && github.sha) || null }}"
43+ # default: "${{ ('workflow_run' == github.event_name && ('pull_request' == github.event. workflow_run.event || 'push' == github.event .workflow_run.event) && github.event.workflow_run.head_branch) || ('pull_request' == github.event_name && github.event.pull_request.head.ref) || ('push' == github.event_name && github.sha) || null }}"
4444 override-build :
4545 description : |
4646 Workflow run to link to the uploaded reports
0 commit comments