Skip to content

Commit

Permalink
fix(IDX): enable multi-repo checkout (#82)
Browse files Browse the repository at this point in the history
* fix(IDX): enable multi-repo checkout

* test

* add working dir

* Update repo_policies_ruleset.yml

* replace default

* always run cla dev check

* update comment
  • Loading branch information
cgundy authored Dec 9, 2024
1 parent f889663 commit cd39b63
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/check_cla_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/python-setup/action.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -12,3 +17,4 @@ runs:
- name: Install Dependencies
run: pip install -r requirements.txt
shell: bash
working-directory: ${{ inputs.working-directory }}
4 changes: 4 additions & 0 deletions .github/workflows/repo_policies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cd39b63

Please sign in to comment.