|
9 | 9 | run-id: |
10 | 10 | description: | |
11 | 11 | The id of the workflow run where the artifacts were uploaded from (default to current run). |
12 | | - In case artefacts have been uploadded from another run, this input must be filled with original workflow ! |
| 12 | + In case artefacts have been uploadded from another run, this input must be filled with original workflow run id ! |
13 | 13 | required: false |
14 | 14 | default: "${{ github.run_id }}" |
15 | 15 | type: string |
16 | 16 | override-commit: |
17 | | - description: Commit to link to the uploaded reports |
| 17 | + description: | |
| 18 | + Force the commit SHA linked to the uploaded reports. |
| 19 | + Mostly useful for specific cases (e.g. `workflow_run` workflow). |
| 20 | + |
| 21 | + In case input is filled, `override-branch` input (as well as `override-pr` in case of `pull_request` event) |
| 22 | + should be filled too in order to keep consitency between values ! |
18 | 23 | type: string |
19 | 24 | required: false |
20 | 25 | override-branch: |
21 | | - description: Branch to link to the uploaded reports |
| 26 | + description: | |
| 27 | + Force the branch linked to the uploaded reports. |
| 28 | + Mostly useful for specific cases (e.g. `workflow_run` workflow). |
| 29 | + |
| 30 | + In case input is filled, `override-commit` input (as well as `override-pr` in case of `pull_request` event) |
| 31 | + should be filled too in order to keep consitency between values ! |
22 | 32 | type: string |
23 | 33 | required: false |
24 | 34 | override-pr: |
25 | | - description: PR to link to the uploaded reports |
| 35 | + description: | |
| 36 | + Force the PR linked to the uploaded reports. |
| 37 | + Mostly useful for specific cases (e.g. `workflow_run` workflow triggered by a `pull_request` workflow). |
| 38 | + |
| 39 | + In case input is filled, `override-commit` and `override-branch` inputs should be filled too in order |
| 40 | + to keep consitency between values ! |
26 | 41 | type: string |
27 | 42 | required: false |
28 | 43 | override-build: |
29 | | - description: Workflow run to link to the uploaded reports |
| 44 | + description: | |
| 45 | + Workflow run ID to link to the uploaded reports. |
| 46 | + Mostly useful for specific cases (e.g. `workflow_run` workflow). |
| 47 | + |
| 48 | + When `run-id` input is provided, this input should most likely have the same value. |
30 | 49 | type: string |
31 | 50 | required: false |
32 | 51 | override-build-url: |
33 | | - description: Workflow run url to link to the uploaded reports |
| 52 | + description: | |
| 53 | + Workflow run url to link to the uploaded reports. |
| 54 | + Usually something like `${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}` (based on GHA environment variables). |
| 55 | + Mostly useful for specific cases (e.g. `workflow_run` workflow). |
| 56 | + |
| 57 | + In case input is filled, `override-build` input most likely need to be filled too in order to keep consitency between values ! |
34 | 58 | type: string |
35 | 59 | required: false |
36 | 60 | follow-symbolic-links: |
37 | | - description: Indicates whether to follow symbolic links when resolving `path` |
38 | | - default: 'false' |
| 61 | + description: | |
| 62 | + Indicates whether to follow symbolic links when resolving glob path. |
| 63 | + When looking for group directory for instance. |
| 64 | + type: boolean |
| 65 | + default: false |
39 | 66 | secrets: |
40 | 67 | TOKEN: |
41 | 68 | required: true |
|
53 | 80 | list-for-output: ${{ steps.find-groups.outputs.list }} |
54 | 81 | permissions: |
55 | 82 | contents: read |
56 | | - checks: write # For the check run creation ! |
| 83 | + checks: write # For the check run creation ! @TODO check if doable to use inputs there and set read rather than write if ${{ !inputs.with-check-run }} |
57 | 84 | steps: |
58 | 85 | # @TODO move actions to a dedicated repo and remove the checkout |
59 | 86 | - uses: actions/checkout@v4 |
@@ -132,7 +159,7 @@ jobs: |
132 | 159 | matrix: ${{ fromJson(needs.prepare.outputs.matrix) }} |
133 | 160 | permissions: |
134 | 161 | contents: read |
135 | | - checks: write # For the check run creation ! |
| 162 | + checks: write # For the check run creation ! @TODO check if doable to use inputs there and set read rather than write if ${{ !inputs.with-check-run }} |
136 | 163 | steps: |
137 | 164 | - name: DEBUG matrix |
138 | 165 | run: echo 'matrix='"'"'${{ toJson(matrix) }}'"'" |
|
0 commit comments