From 645fe6bbe9839f90b05bedb31f144b418150f6b6 Mon Sep 17 00:00:00 2001 From: David Waltermire Date: Thu, 7 Nov 2024 22:40:46 -0500 Subject: [PATCH] Trying to fix PAT auth. --- .github/workflows/build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index af8ed90..c4a126d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,11 +47,12 @@ jobs: if: github.ref == 'refs/heads/develop' && github.repository_owner == 'metaschema-framework' uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: - repository: metaschema-framework/maven2 path: maven2 ref: main + repository: metaschema-framework/maven2 token: ${{ secrets.ACCESS_TOKEN }} - filter: tree:0 + fetch-depth: 0 + persist-credentials: true # ------------------------- # Java Environment Setup # ------------------------- @@ -86,6 +87,9 @@ jobs: git config user.email "$(git log -n 1 --pretty=format:%ae)" git commit -m "[CI SKIP] Deploying artifacts." git push + env: + REPO_KEY: ${{secrets.ACCESS_TOKEN}} + USERNAME: github-actions[bot] # - name: Perform CodeQL Analysis # if: github.event_name == 'push' # uses: github/codeql-action/analyze@3ab4101902695724f9365a384f86c1074d94e18c