From 732ada68d228b6a8c9ba8e22f2b2195544993781 Mon Sep 17 00:00:00 2001 From: Can Tunca Date: Wed, 17 Jan 2024 18:22:37 +0300 Subject: [PATCH] Fix action path inside a container For reference: https://github.com/actions/runner/issues/716 --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index bc11fc8..7b5e120 100644 --- a/action.yml +++ b/action.yml @@ -56,12 +56,12 @@ runs: python-version: '3.10' - name: Install Python dependencies shell: bash - run: pip install -r ${{ github.action_path }}/requirements.txt + run: pip install -r ${GITHUB_ACTION_PATH}/requirements.txt - name: Run clang-tidy review id: run-review shell: bash run: >- - ${{ github.action_path }}/review.py + ${GITHUB_ACTION_PATH}/review.py --repo=${{ inputs.repo }} --pr=${{ inputs.pr }} --token=${{ inputs.token }}