Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ inputs:
required: false
fails-on-triggering-workflow-failure:
description: If `true` and triggering workflow is not sucessfull (error, cancellation, etc), add the check and throw an error in order to stop ongoing job
required: false
default: 'false'

outputs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ inputs:
required: false
follow-symbolic-links:
description: Indicates whether to follow symbolic links when resolving `path`
required: false
default: 'false'

outputs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ inputs:
required: false
follow-symbolic-links:
description: Indicates whether to follow symbolic links when resolving `path`
required: false
default: 'false'

outputs:
Expand Down
9 changes: 7 additions & 2 deletions .github/actions/reports-group/create-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,24 @@ inputs:
description: Group name
required: true
format:
description: "`clover`, `cobertura`, `lcov`, etc"
required: true
description: |
`clover`, `cobertura`, `lcov`, etc. Default to 'unknown'
required: false
default: 'unknown'
files:
description: Multiline list of reports attached to the group
required: true
flags:
description: Multiline list of flags attached to the group
required: false
default: ''
path:
description: Root directory for the group directory (default to current directory)
required: false
default: '.'
follow-symbolic-links:
description: Indicates whether to follow symbolic links when resolving `files`
required: false
default: 'false'

outputs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ inputs:
Weither to look for triggering workflow context or just current workflow context (default `true` !).
- True: In case current workflow event is `workflow_run`, the context of the workflow which **triggered** the current one will be returned. Else returns the current workflow context
- False: Return the context for the current workflow.
required: false
default: 'true'

outputs:
Expand Down
8 changes: 6 additions & 2 deletions .github/actions/reports-group/find-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,19 @@ description: |
inputs:
path:
description: A group directory or a glob pattern in order to find group directories and merge their metadata
required: false
required: true
format:
description: string, json
description: |
`string` (default) or `json`
required: false
default: 'string'
glue-string:
description: String used to concatenate values when 'string' format is used
required: false
default: ','
follow-symbolic-links:
description: Indicates whether to follow symbolic links when resolving `path`
required: false
default: 'false'
outputs:
list:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@ inputs:
description: A group directory or a glob pattern in order to find group directories and merge their metadata
required: true
format:
description: string (default) or json
description: |
`string` (default) or `json`
required: false
default: 'string'
glue-string:
description: String used to concatenate values when 'string' format is used (default to comma)
required: false
default: ','
follow-symbolic-links:
description: Indicates whether to follow symbolic links when resolving `path`
required: false
default: 'false'

outputs:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/codacy-upload-from-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,25 @@ on:
workflow_call:
inputs:
artifacts-pattern:
description: TODO
required: true
type: string
run-id:
description: |
The id of the workflow run where the artifacts were uploaded from (default to current run).
In case artefacts have been uploadded from another run, this input must be filled with original workflow run id !
required: false
default: "${{ github.run_id }}"
type: string
default: "${{ github.run_id }}"
override-commit:
description: |
Force the commit SHA linked to the uploaded reports.
Mostly useful for specific cases (e.g. `workflow_run` workflow).
type: string
required: false
type: string
follow-symbolic-links:
description: Indicates whether to follow symbolic links when resolving groups path
required: false
type: boolean
default: false

Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/codecov-upload-from-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,63 +4,65 @@ on:
workflow_call:
inputs:
artifacts-pattern:
description: TODO
required: true
type: string
run-id:
description: |
The id of the workflow run where the artifacts were uploaded from (default to current run).
In case artefacts have been uploadded from another run, this input must be filled with original workflow run id !
required: false
default: "${{ github.run_id }}"
type: string
default: "${{ github.run_id }}"
override-commit:
description: |
Force the commit SHA linked to the uploaded reports.
Mostly useful for specific cases (e.g. `workflow_run` workflow).

In case input is filled, `override-branch` input (as well as `override-pr` in case of `pull_request` event)
should be filled too in order to keep consitency between values !
type: string
required: false
type: string
override-branch:
description: |
Force the branch linked to the uploaded reports.
Mostly useful for specific cases (e.g. `workflow_run` workflow).

In case input is filled, `override-commit` input (as well as `override-pr` in case of `pull_request` event)
should be filled too in order to keep consitency between values !
type: string
required: false
type: string
override-pr:
description: |
Force the PR linked to the uploaded reports.
Mostly useful for specific cases (e.g. `workflow_run` workflow triggered by a `pull_request` workflow).

In case input is filled, `override-commit` and `override-branch` inputs should be filled too in order
to keep consitency between values !
type: string
required: false
type: string
override-build:
description: |
Workflow run ID to link to the uploaded reports.
Mostly useful for specific cases (e.g. `workflow_run` workflow).

When `run-id` input is provided, this input should most likely have the same value.
type: string
required: false
type: string
override-build-url:
description: |
Workflow run url to link to the uploaded reports.
Usually something like `${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}` (based on GHA environment variables).
Mostly useful for specific cases (e.g. `workflow_run` workflow).

In case input is filled, `override-build` input most likely need to be filled too in order to keep consitency between values !
type: string
required: false
type: string
follow-symbolic-links:
description: |
Indicates whether to follow symbolic links when resolving glob path.
When looking for group directory for instance.
required: false
type: boolean
default: false
secrets:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/coverage-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: ./.github/workflows/codacy-upload-from-artifacts.yml
with:
artifacts-pattern: coverage-groups-*
run-id: ${{ needs.fetch-info.outputs.id }}
run-id: ${{ needs.fetch-info.outputs.run-id }}
override-commit: ${{ needs.fetch-info.outputs.commit-sha }}
permissions:
contents: read
Expand All @@ -49,7 +49,7 @@ jobs:
uses: ./.github/workflows/codecov-upload-from-artifacts.yml
with:
artifacts-pattern: coverage-groups-*
run-id: ${{ needs.fetch-info.outputs.id }}
run-id: ${{ needs.fetch-info.outputs.run-id }}
override-commit: ${{ needs.fetch-info.outputs.commit-sha }}
permissions:
contents: read
Expand Down