From dab4090edc15cc9119a1d8bed52a4c12690d667d Mon Sep 17 00:00:00 2001 From: brichbash <74328414+brichbash@users.noreply.github.com> Date: Tue, 14 May 2024 16:25:36 +0200 Subject: [PATCH 1/5] Update qodana.yml --- .github/workflows/qodana.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/qodana.yml b/.github/workflows/qodana.yml index 8d417a7fd..9a428b9bf 100644 --- a/.github/workflows/qodana.yml +++ b/.github/workflows/qodana.yml @@ -18,4 +18,6 @@ jobs: uses: JetBrains/qodana-action@main env: QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} + with: + pr-mode: true From 320bd405e10e7059d1c05fef059991922c74cf15 Mon Sep 17 00:00:00 2001 From: brichbash <74328414+brichbash@users.noreply.github.com> Date: Mon, 27 May 2024 07:19:28 +0200 Subject: [PATCH 2/5] Update qodana.yml --- .github/workflows/qodana.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/qodana.yml b/.github/workflows/qodana.yml index 9a428b9bf..86373d091 100644 --- a/.github/workflows/qodana.yml +++ b/.github/workflows/qodana.yml @@ -20,4 +20,5 @@ jobs: QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} with: pr-mode: true + upload-result: true From 7a110a6d31883c69ddf36b8d9fb51dea4bc69dcd Mon Sep 17 00:00:00 2001 From: brichbash <74328414+brichbash@users.noreply.github.com> Date: Thu, 13 Jun 2024 13:19:16 +0200 Subject: [PATCH 3/5] Create eslint.yml --- .github/workflows/eslint.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/eslint.yml diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml new file mode 100644 index 000000000..93fb943dc --- /dev/null +++ b/.github/workflows/eslint.yml @@ -0,0 +1,17 @@ +name: Eslint +on: + workflow_dispatch: + pull_request: + branches: + - main + +jobs: + qodana: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: '16' + - run: npm install + - run: eslint . From 33bbe67c867904f64a3cd009472c7ae9768b9a41 Mon Sep 17 00:00:00 2001 From: brichbash <74328414+brichbash@users.noreply.github.com> Date: Thu, 13 Jun 2024 13:22:52 +0200 Subject: [PATCH 4/5] Update eslint.yml --- .github/workflows/eslint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 93fb943dc..cbfa080e2 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -14,4 +14,4 @@ jobs: with: node-version: '16' - run: npm install - - run: eslint . + - run: npm run eslint . From 1af31bbc1cfec3361e022079daec06cba3b61582 Mon Sep 17 00:00:00 2001 From: brichbash <74328414+brichbash@users.noreply.github.com> Date: Fri, 21 Jun 2024 17:56:52 +0200 Subject: [PATCH 5/5] Update qodana.yml --- .github/workflows/qodana.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/qodana.yml b/.github/workflows/qodana.yml index 86373d091..4a0315672 100644 --- a/.github/workflows/qodana.yml +++ b/.github/workflows/qodana.yml @@ -1,15 +1,28 @@ name: Qodana on: + push: workflow_dispatch: pull_request: - branches: - - main + jobs: qodana: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout PR + uses: actions/checkout@v4 + if: github.event_name == 'pull_request' || github.event.pull_request.merged == true + with: + ref: ${{ github.event.pull_request.head.sha }} + fetch-depth: ${{ github.event.pull_request.commits }} + - name: Checkout + uses: actions/checkout@v4 + if: github.event_name != 'pull_request' + with: + fetch-depth: 0 + - name: Get one more commit so Qodana we can identify the changes + if: github.event_name == 'pull_request' + run: git fetch --deepen=1 - uses: actions/setup-node@v2 with: node-version: '16'