Updated Reddit #192
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: Qodana | |
on: | |
workflow_dispatch: | |
pull_request_target: | |
branches: | |
- master | |
paths: | |
- "**.js" | |
- "**.sh" | |
- "**.py" | |
push: | |
branches: | |
- master | |
paths: | |
- "**.js" | |
- "**.sh" | |
- "**.py" | |
jobs: | |
qodana: | |
name: Qodana | |
runs-on: ubuntu-latest | |
if: github.repository_owner == 'placeAtlas' | |
permissions: | |
contents: write | |
pull-requests: write | |
checks: write | |
security-events: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Check using Qodana | |
uses: JetBrains/qodana-action@main | |
env: | |
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} | |
- name: Upload results | |
uses: github/codeql-action/upload-sarif@v2 | |
with: | |
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json | |
env: | |
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} | |