Skip to content

Commit 843c5cd

Browse files
authored
Update master-build-and-deploy-to-azure.yml
Add Qodana inspection
1 parent 461952b commit 843c5cd

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/master-build-and-deploy-to-azure.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,19 @@ jobs:
4040
slot-name: 'Production'
4141
package: '${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}/output'
4242
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_84942172C4BE4DDDBE1C48EFB32A2A9A }}
43+
44+
qodana:
45+
runs-on: ubuntu-latest
46+
permissions:
47+
contents: write
48+
pull-requests: write
49+
checks: write
50+
steps:
51+
- uses: actions/checkout@v3
52+
with:
53+
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
54+
fetch-depth: 0 # a full history is required for pull request analysis
55+
- name: 'Qodana Scan'
56+
uses: JetBrains/qodana-action@v2023.3
57+
env:
58+
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}

0 commit comments

Comments
 (0)