Nod 781 dismissione wisp #21
Workflow file for this run
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: Code Review | |
# Controls when the workflow will run | |
on: | |
pull_request: | |
branches: | |
- main | |
types: | |
- opened | |
- synchronize | |
- reopened | |
push: | |
branches: | |
- main | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
env: | |
PROJECT_KEY: pagopa_pagopa-wisp-converter | |
permissions: | |
id-token: write | |
contents: read | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
code-review: | |
name: Code Review | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
steps: | |
- name: Code Review | |
uses: pagopa/github-actions-template/maven-code-review@v1.10.4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
sonar_token: ${{ secrets.SONAR_TOKEN }} | |
project_key: ${{env.PROJECT_KEY}} | |
coverage_exclusions: "**/config/**,**/*Mock*,**/model/**,**/entity/*,**/util/*" | |
cpd_exclusions: "**/model/**,**/entity/*" | |
java_version: 17 |