diff --git a/.github/workflows/importer.yml b/.github/workflows/importer.yml index 687a377..06c76b2 100644 --- a/.github/workflows/importer.yml +++ b/.github/workflows/importer.yml @@ -28,20 +28,13 @@ jobs: with: python-version: '3.x' - - name: Configure Git credentials + - name: Install dependencies env: PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - id: git-config - run: | - git config --global url."https://${PERSONAL_ACCESS_TOKEN}@github.com/".insteadOf "https://github.com/" - echo "git_configured=true" >> $GITHUB_OUTPUT - - - name: Install dependencies - if: steps.git-config.outputs.git_configured == 'true' run: | python -m pip install --upgrade pip - pip install git+https://github.com/deploymenttheory/jamftf-python-terraform-importer@latest - pip install git+https://github.com/thejoeker12/jamfpy@latest + pip install git+https://${PERSONAL_ACCESS_TOKEN}@github.com/deploymenttheory/jamftf-python-terraform-importer@latest + pip install git+https://${PERSONAL_ACCESS_TOKEN}@github.com/thejoeker12/jamfpy@latest pip install -r scripts/requirements.txt - name: Run Python script