From 5492105a0075da3bed4cb70bc7114c196cbd1d09 Mon Sep 17 00:00:00 2001 From: Breno A Date: Thu, 8 Feb 2024 09:20:16 -0300 Subject: [PATCH 1/2] Update deploy-pages.yml --- .github/workflows/deploy-pages.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index c4ff571..4ceab9d 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -4,6 +4,8 @@ on: push: paths: - 'docs/**' + branches: + - "main" # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: From f448ea170975fa59fdcfde40b2908bc2d37c35ad Mon Sep 17 00:00:00 2001 From: Breno A Date: Thu, 8 Feb 2024 09:21:21 -0300 Subject: [PATCH 2/2] Create qodana.yml --- .github/workflows/qodana.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/qodana.yml diff --git a/.github/workflows/qodana.yml b/.github/workflows/qodana.yml new file mode 100644 index 0000000..27d925a --- /dev/null +++ b/.github/workflows/qodana.yml @@ -0,0 +1,25 @@ +name: Qodana +on: + workflow_dispatch: + pull_request: + push: + branches: + - main + - 'releases/*' + +jobs: + qodana: + 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/qodana-action@v2023.3 + env: + QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}