diff --git a/.github/workflows/check_cla_dev.yml b/.github/workflows/check_cla_dev.yml index ea1e3a9..27bba88 100644 --- a/.github/workflows/check_cla_dev.yml +++ b/.github/workflows/check_cla_dev.yml @@ -4,11 +4,6 @@ name: CLA Check Dev on: pull_request: - paths: - - .github/workflows/check_cla.yml - - .github/workflows/check_cla_dev.yml - - reusable_workflows/check_cla/** - - reusable_workflows/check_membership/** jobs: call-check-cla: diff --git a/.github/workflows/python-setup/action.yml b/.github/workflows/python-setup/action.yml index 385fbd5..c014c72 100644 --- a/.github/workflows/python-setup/action.yml +++ b/.github/workflows/python-setup/action.yml @@ -1,5 +1,10 @@ name: Python Setup description: Installs Python and necessary dependencies +inputs: + working-directory: + description: 'The path to the workspace' + required: false + default: ${{ github.workspace }} runs: using: composite @@ -12,3 +17,4 @@ runs: - name: Install Dependencies run: pip install -r requirements.txt shell: bash + working-directory: ${{ inputs.working-directory }} diff --git a/.github/workflows/repo_policies.yml b/.github/workflows/repo_policies.yml index 558f4c2..b47e3e6 100644 --- a/.github/workflows/repo_policies.yml +++ b/.github/workflows/repo_policies.yml @@ -20,9 +20,13 @@ jobs: # Then switch back to this repository to make sure it's run from current - name: Checkout Original Repository uses: actions/checkout@v4 + with: + path: current-repo # need to specify another path to avoid overwriting the first checkout - name: Python Setup uses: ./public-workflows/.github/workflows/python-setup + with: + working-directory: public-workflows - name: Bot Checks id: bot-checks