-
Notifications
You must be signed in to change notification settings - Fork 805
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
22,033 additions
and
60 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,19 @@ | ||
name: Qodana | ||
name: "Qodana: Push" | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
push: | ||
paths-ignore: | ||
- '.github/**' | ||
- 'data/**' | ||
- 'docs/**' | ||
- '.gitattributes' | ||
- '.gitignore' | ||
- '.gitmodules' | ||
- 'qodana.yaml' | ||
- 'qodana.sarif.json' | ||
- 'LICENSE' | ||
- 'README.MD' | ||
|
||
|
||
jobs: | ||
|
@@ -19,6 +30,8 @@ jobs: | |
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit | ||
fetch-depth: 0 # a full history is required for pull request analysis | ||
- name: 'Qodana Scan' | ||
uses: JetBrains/[email protected] | ||
uses: JetBrains/[email protected] | ||
with: | ||
args: --baseline,.qodana/qodana.sarif.json | ||
env: | ||
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: "Qodana: Pull Request" | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
paths-ignore: | ||
- '.github/**' | ||
- 'data/**' | ||
- 'docs/**' | ||
- '.gitattributes' | ||
- '.gitignore' | ||
- '.gitmodules' | ||
- 'LICENSE' | ||
- 'README.MD' | ||
|
||
jobs: | ||
qodana: | ||
name: 'Qodana Job' | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
checks: write | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit | ||
fetch-depth: 0 # a full history is required for pull request analysis | ||
- name: 'Qodana Scan' | ||
uses: JetBrains/[email protected] | ||
with: | ||
args: -l,jetbrains/qodana-go:2023.3-eap,--baseline,.qodana/qodana.sarif.json | ||
pr-mode: false |
Oops, something went wrong.