From 142ff12f76ebf8776c1b85af718f8378bdd76e84 Mon Sep 17 00:00:00 2001 From: Luca Guerra Date: Wed, 18 Dec 2024 09:05:39 +0000 Subject: [PATCH] new(action): add report name suffix to prevent conflicts Signed-off-by: Luca Guerra --- action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index bfc8ef2..e0a4dbc 100644 --- a/action.yml +++ b/action.yml @@ -34,6 +34,10 @@ inputs: description: 'Specify a sudo command. Put it empty when sudo is not available.' required: false default: 'sudo' + report-name-suffix: + description: 'A suffix for the testing report name which will be uploaded to GitHub' + required: false + default: '' outputs: report: @@ -127,7 +131,7 @@ runs: if: always() # note: upload the report even if tests fail uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 with: - name: falcosecurity-testing-report-${{ runner.arch }} + name: falcosecurity-testing-report-${{ runner.arch }}${{ inputs.report-name-suffix }} path: | ${{ steps.store-outputs.outputs.report }} ${{ steps.store-outputs.outputs.report_txt }}