diff --git a/.github/workflows/generate-cicd-zip.yaml b/.github/workflows/generate-cicd-zip.yaml index d235ba4f..1adbaaf0 100644 --- a/.github/workflows/generate-cicd-zip.yaml +++ b/.github/workflows/generate-cicd-zip.yaml @@ -9,15 +9,14 @@ defaults: run: working-directory: template/{{.input_root_dir}} - jobs: - run-tests: + generate-zip: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Checkout PR env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.PAT }} run: | gh pr checkout ${{ github.event.pull_request.number }} - name: Generate CICD Zip @@ -27,7 +26,7 @@ jobs: tar -czvf cicd.tar.gz cicd - name: Add Zip to Pull Request env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.PAT }} run: | git config --global user.name "GitHub Actions Bot" git config --global user.email "eng-mlops-outerloop-team@databricks.com" diff --git a/.github/workflows/run-checks.yaml b/.github/workflows/run-checks.yaml index 64a24fe8..79196a16 100644 --- a/.github/workflows/run-checks.yaml +++ b/.github/workflows/run-checks.yaml @@ -1,6 +1,7 @@ name: Run checks on: pull_request: + jobs: run-tests: runs-on: ubuntu-latest