| 
8 | 8 |     types: [opened, reopened, synchronize]  | 
9 | 9 | 
 
  | 
10 | 10 | jobs:  | 
11 |  | -  static-analysis:  | 
12 |  | -    name: Static Analysis (linting, vulns)  | 
13 |  | -    runs-on: ubuntu-latest  | 
14 |  | -    steps:  | 
15 |  | -      - uses: actions/checkout@v4  | 
16 |  | -      - uses: Jahia/jahia-modules-action/static-analysis@v2  | 
17 |  | -        with:  | 
18 |  | -          node_version: 18  | 
19 |  | -          auditci_level: critical  | 
20 |  | - | 
21 |  | -  build:  | 
22 |  | -    name: Build Module  | 
23 |  | -    runs-on: self-hosted  | 
24 |  | -    env:  | 
25 |  | -      NEXUS_INTERNAL_URL: ${{ secrets.NEXUS_INTERNAL_URL }}  | 
26 |  | -    container:  | 
27 |  | -      image: jahia/cimg-mvn-cache:ga_cimg_openjdk_11.0.20-node  | 
28 |  | -      credentials:  | 
29 |  | -        username: ${{ secrets.DOCKERHUB_USERNAME }}  | 
30 |  | -        password: ${{ secrets.DOCKERHUB_PASSWORD }}  | 
31 |  | -    steps:  | 
32 |  | -      - uses: actions/checkout@v4  | 
33 |  | -      - uses: jahia/jahia-modules-action/build@v2  | 
34 |  | -        with:  | 
35 |  | -          mvn_settings_filepath: '.github/maven.settings.xml'  | 
36 |  | -          nexus_username: ${{ secrets.NEXUS_USERNAME }}  | 
37 |  | -          nexus_password: ${{ secrets.NEXUS_PASSWORD }}  | 
38 |  | - | 
39 |  | -  sonar-analysis:  | 
40 |  | -    name: Sonar Analysis  | 
41 |  | -    needs: build  | 
42 |  | -    runs-on: ubuntu-latest  | 
43 |  | -    steps:  | 
44 |  | -      - uses: actions/checkout@v4  | 
45 |  | -      - uses: jahia/jahia-modules-action/sonar-analysis@v2  | 
46 |  | -        with:  | 
47 |  | -          primary_release_branch: master  | 
48 |  | -          github_pr_id: ${{github.event.number}}  | 
49 |  | -          sonar_url: ${{ secrets.SONAR_URL }}  | 
50 |  | -          sonar_token: ${{ secrets.SONAR_TOKEN }}  | 
51 |  | -          mvn_settings_filepath: '.github/maven.settings.xml'  | 
52 |  | - | 
53 |  | -  integration-tests-standalone:  | 
54 |  | -    uses:  Jahia/jahia-modules-action/.github/workflows/reusable-integration-tests.yml@v2  | 
55 |  | -    needs: build     | 
 | 11 | +  on-code-change:  | 
 | 12 | +    uses: Jahia/jahia-modules-action/.github/workflows/reusable-on-code-change.yml@reusable-on-code-change  | 
56 | 13 |     secrets: inherit  | 
57 | 14 |     with:  | 
58 | 15 |       jahia_image: jahia/jahia-ee-dev:8-SNAPSHOT  | 
 | 
62 | 19 |       provisioning_manifest: provisioning-manifest-build.yml  | 
63 | 20 |       should_use_build_artifacts: true  | 
64 | 21 |       artifact_prefix: gql  | 
 | 22 | +      static_analysis_auditci_level: critical  | 
65 | 23 |       module_branch: ${{ github.head_ref }}  | 
0 commit comments