chore(deps): bump the kiota-dependencies group with 4 updates #3562
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Static code analysis with Qodana | |
on: | |
push: | |
paths-ignore: | |
- .gitignore | |
- LICENSE | |
- README* | |
- docs/** | |
branches: [ main ] | |
pull_request: | |
paths-ignore: | |
- .gitignore | |
- LICENSE | |
- README* | |
- docs/** | |
branches: [ main ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: Qodana | |
runs-on: ubuntu-22.04 | |
if: > | |
github.repository_owner == 'Apicurio' && contains(github.event.*.labels.*.name, 'QODANA') | |
permissions: | |
checks: write | |
contents: write | |
pull-requests: write | |
security-events: write | |
steps: | |
- name: Checkout ${{ github.ref }} | |
uses: actions/checkout@v3 | |
if: github.event_name == 'push' | |
with: | |
fetch-depth: 0 | |
- name: Checkout ${{ github.event.pull_request.head.sha }} | |
uses: actions/checkout@v3 | |
if: github.event_name == 'pull_request' | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
fetch-depth: 0 | |
- name: Scan | |
uses: JetBrains/[email protected] | |
env: | |
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} | |
with: | |
# TODO: args: --baseline,.qodana/qodana.sarif.json | |
upload-result: true | |
# TODO: push-fixes: pull-request | |
# - name: Upload report to GitHub | |
# uses: github/codeql-action/upload-sarif@v2 | |
# if: github.ref == 'refs/heads/main' && github.event_name == 'push' | |
# with: | |
# sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json | |
# continue-on-error: true # TODO: There are some issues when uploading the Sarif file |