From 0134f744f6663ebdfffd2c673534635c13c54b66 Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Fri, 9 Feb 2024 09:14:25 +0100 Subject: [PATCH] cleanup(action): no need to checkout repo since it gets already checked out during invocation. Signed-off-by: Federico Di Pierro --- action.yml | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/action.yml b/action.yml index 68609d3..63287f1 100644 --- a/action.yml +++ b/action.yml @@ -22,20 +22,12 @@ outputs: matrix_output: description: "Uploaded matrix artifact name" value: ${{ steps.store-outputs.outputs.matrix }} - + runs: using: "composite" steps: - - name: Checkout - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - with: - repository: falcosecurity/kernel-testing - ref: ${{ env.ACTION_REF }} - env: - ACTION_REF: ${{ github.action_ref }} - - name: Generate vars yaml - working-directory: ./ansible-playbooks + working-directory: ${{ github.action_path }}/ansible-playbooks shell: bash run: | cat > vars.yml <