Skip to content

Commit badaae9

Browse files
committed
checking out repo after analysis
1 parent d8efd61 commit badaae9

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/codeql-multiple-repo-scan.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,8 @@ jobs:
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

0 commit comments

Comments
 (0)