Skip to content

Commit

Permalink
Fixed PAT auth.
Browse files Browse the repository at this point in the history
  • Loading branch information
david-waltermire committed Nov 8, 2024
1 parent 00570b1 commit 1fd3fba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
# -------------------------
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
</repository>
<snapshotRepository>
<id>repo-snapshot</id>
<url>https://raw.githubusercontent.com/david-waltermire/oscal-cli-enhanced/refs/heads/maven2/</url>
<url>https://raw.githubusercontent.com/metaschema-framework/maven2/refs/heads/main/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
Expand Down

0 comments on commit 1fd3fba

Please sign in to comment.