Skip to content

Commit

Permalink
Codeql issue hashicorp (#207)
Browse files Browse the repository at this point in the history
* resolve 401 unauth error

* resolve 401 unauth error

---------

Co-authored-by: Sayali M <sayali@Sayalis-MacBook-Pro>
  • Loading branch information
sayaliM0412 and Sayali M authored May 4, 2024
1 parent 43b4dea commit c9d864b
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,55 @@ jobs:
run: |
${{ inputs.extraCommand }}
- name: Set up Maven
if: matrix.language == 'java'
uses: stCarolas/[email protected]
with:
maven-version: "3.9.5"
# look for dependencies in maven
- name: maven-settings-xml-action
if: matrix.language == 'java'
uses: whelk-io/maven-settings-xml-action@v21
with:
repositories: |
[
{
"id": "liquibase",
"url": "https://maven.pkg.github.com/liquibase/liquibase",
"releases": {
"enabled": "true"
},
"snapshots": {
"enabled": "true",
"updatePolicy": "always"
}
},
{
"id": "liquibase-pro",
"url": "https://maven.pkg.github.com/liquibase/liquibase-pro",
"releases": {
"enabled": "true"
},
"snapshots": {
"enabled": "true",
"updatePolicy": "always"
}
}
]
servers: |
[
{
"id": "liquibase-pro",
"username": "liquibot",
"password": "${{ secrets.LIQUIBOT_PAT }}"
},
{
"id": "liquibase",
"username": "liquibot",
"password": "${{ secrets.LIQUIBOT_PAT }}"
}
]
# users can specify the custom build command via the buildCommand input.
# If no custom command is provided, it will be 'autobuild' by codeql in step set-build-mode .

Expand Down

0 comments on commit c9d864b

Please sign in to comment.