File tree Expand file tree Collapse file tree 2 files changed +11
-86
lines changed Expand file tree Collapse file tree 2 files changed +11
-86
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
2
2
3
- name : Pmd-Scan
4
- on : [push]
3
+ name : PMD_Apex_CodeScanning
4
+
5
+ on :
6
+ push :
7
+ branches : [ main ]
8
+
9
+ pull_request :
10
+ branches : [ main ]
11
+
5
12
jobs :
6
13
apex :
7
14
permissions :
@@ -11,14 +18,14 @@ jobs:
11
18
runs-on : ubuntu-latest
12
19
steps :
13
20
- name : Checkout code
14
- uses : actions/checkout@v3
21
+ uses : actions/checkout@v4
15
22
with :
16
23
fetch-depth : 0
17
24
- name : Setup PMD
18
25
uses : legetz/setup-pmd@7.0.0-rc3
19
26
- name : APEX full scan
20
27
run : pmd check --dir ./project-force/pf-app/main/default/classes/*.cls --rulesets ./config/pmd-ruleset.xml --no-fail-on-violation -f sarif -D -r pmd-report.sarif
21
28
- name : Upload SARIF file
22
- uses : github/codeql-action/upload-sarif@v2
29
+ uses : github/codeql-action/upload-sarif@v3
23
30
with :
24
31
sarif_file : pmd-report.sarif
You can’t perform that action at this time.
0 commit comments