From d756752cacb13833d3eb76f6ae9cbbcd00052f4e Mon Sep 17 00:00:00 2001 From: Theresa Kamerman Date: Mon, 13 May 2024 16:28:56 -0700 Subject: [PATCH] Test Cloning a Private Repo within the same organization --- .github/workflows/private-clone.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/private-clone.yml diff --git a/.github/workflows/private-clone.yml b/.github/workflows/private-clone.yml new file mode 100644 index 0000000000..c8b5a60d43 --- /dev/null +++ b/.github/workflows/private-clone.yml @@ -0,0 +1,28 @@ +name: Clone Private Repo Test + +on: + pull_request: + branches: + - develop + - dev-[0-9]+.[0-9]+.[0-9]+ + push: + branches: + - develop + tags: + - v* + workflow_dispatch: + +jobs: + clone: + runs-on: ubuntu-latest + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + - name: Clone Private Repo + uses: actions/checkout@v4 + with: + repository: NASA-AMMOS/aerie-orbiter-model + path: aerie-orbiter-model + ref: main + - name: Run LS in cloned repo + run: ls -ltr aerie-orbiter-model