File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949 echo "======================="
5050 - name : Checkout central repository
5151 uses : actions/checkout@v4
52- # Checkout CodeQL Coding Standards BEFORE analysis (required for proper scanning)
53- - name : Checkout CodeQL Coding Standards scripts
54- uses : actions/checkout@v4
55- with :
56- repository : github/codeql-coding-standards
57- path : codeql-coding-standards-repo
58- ref : main
5952 # Add coding standard packages and dependencies
60- - name : Install Python dependencies for Coding Standards scripts
53+ - name : Install Python dependencies
6154 run : |
6255 python3 -m pip install --upgrade pip
6356 pip3 install --break-system-packages pyyaml jsonpath-ng jsonschema jsonpatch jsonpointer pytest sarif-tools
@@ -107,6 +100,13 @@ jobs:
107100 echo "Cleaning up checked out repositories to free disk space"
108101 rm -rf repos/
109102 df -h
103+ # Checkout CodeQL Coding Standards AFTER analysis for recategorization
104+ - name : Checkout CodeQL Coding Standards scripts
105+ uses : actions/checkout@v4
106+ with :
107+ repository : github/codeql-coding-standards
108+ path : codeql-coding-standards-repo
109+ ref : v2.50.0
110110 - name : Recategorize Guidelines
111111 if : always()
112112 timeout-minutes : 10
You can’t perform that action at this time.
0 commit comments