diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index bf0354a..ce4da92 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -2,6 +2,7 @@ name: "Code scanning - action" on: push: + branches: [ main ] path-ignore: - 'docs/**' - '*.md' @@ -13,29 +14,31 @@ on: - cron: '0 19 * * 5' jobs: - CodeQL-Build: - + analyze: + name: Analyze runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + language: [ 'java' ] + # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] + # Learn more: + # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed + steps: - name: Checkout repository uses: actions/checkout@v2 - with: - # We must fetch at least the immediate parents so that if this is - # a pull request then we can checkout the head. - fetch-depth: 2 - - # If this run was triggered by a pull request event, then checkout - # the head of the pull request instead of the merge commit. - - run: git checkout HEAD^2 - if: ${{ github.event_name == 'pull_request' }} - + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v1 - # Override language selection by uncommenting this and choosing your languages - # with: - # languages: go, javascript, csharp, python, cpp, java + with: + languages: ${{ matrix.language }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. + # queries: ./path/to/local/query, your-org/your-repo/queries@main # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) diff --git a/build.gradle b/build.gradle index 6aec3f5..84eb730 100644 --- a/build.gradle +++ b/build.gradle @@ -23,8 +23,7 @@ dependencies { implementation 'com.auth0:jwks-rsa:0.17.0' implementation 'io.jsonwebtoken:jjwt-api:0.11.2' implementation 'com.google.code.gson:gson:2.8.6' - implementation 'com.azure:azure-identity:1.2.1' - implementation 'com.microsoft.azure:msal4j:1.8.1' + implementation 'com.azure:azure-identity:1.2.4' implementation 'io.jsonwebtoken:jjwt-impl:0.11.2' implementation 'io.jsonwebtoken:jjwt-jackson:0.11.2' testImplementation('org.springframework.boot:spring-boot-starter-test') {