From 877869eba28594f47a427ed60c26842c18472a12 Mon Sep 17 00:00:00 2001 From: SKairinos Date: Fri, 5 Jan 2024 18:06:43 +0000 Subject: [PATCH] test --- .github/actions/python/setup-environment/action.yaml | 7 +++---- .github/workflows/validate-new-contributor.yaml | 8 ++++---- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/actions/python/setup-environment/action.yaml b/.github/actions/python/setup-environment/action.yaml index 51a5ae78..3c579149 100644 --- a/.github/actions/python/setup-environment/action.yaml +++ b/.github/actions/python/setup-environment/action.yaml @@ -20,9 +20,8 @@ runs: using: composite steps: - name: 🛫 Checkout + if: ${{ inputs.checkout == 'true' }} uses: actions/checkout@v4 - with: - ref: refs/pull/53/head - name: 🐍 Set up Python ${{ inputs.python-version }} uses: actions/setup-python@v4 @@ -39,5 +38,5 @@ runs: - name: 🛠 Install Dependencies shell: bash - working-directory: .github/scripts/python - run: python -m pipenv install ${{ inputs.install-args }} + working-directory: ${{ inputs.working-directory }} + run: pipenv install ${{ inputs.install-args }} diff --git a/.github/workflows/validate-new-contributor.yaml b/.github/workflows/validate-new-contributor.yaml index f7df8ee0..2a03f959 100644 --- a/.github/workflows/validate-new-contributor.yaml +++ b/.github/workflows/validate-new-contributor.yaml @@ -36,10 +36,10 @@ jobs: # echo "PR_NUM=${{ inputs.pull-request-number }}" >> $GITHUB_ENV # fi - # - name: 🛫 Checkout - # uses: actions/checkout@v4 - # with: - # ref: refs/pull/${{ inputs.pull-request-number }}/head + - name: 🛫 Checkout + uses: actions/checkout@v4 + with: + ref: refs/pull/${{ inputs.pull-request-number }}/head # - name: 🛫 Checkout # run: gh pr checkout ${{ inputs.pull-request-number }}