@@ -40,12 +40,17 @@ jobs:
4040 # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
4141
4242 steps :
43+ - name : Harden the runner (Audit all outbound calls)
44+ uses : step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
45+ with :
46+ egress-policy : audit
47+
4348 - name : Checkout repository
44- 49+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4550
4651 # Initializes the CodeQL tools for scanning.
4752 - name : Initialize CodeQL
48- uses :
github/codeql-action/[email protected] 53+ uses : github/codeql-action/autobuild@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11
4954 with :
5055 languages : ${{ matrix.language }}
5156 # If you wish to specify custom queries, you can do so here or in a config file.
5560 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5661 # If this step fails, then you should remove it and run the build manually (see below)
5762 - name : Autobuild
58- uses :
github/codeql-action/[email protected] 63+ uses : github/codeql-action/autobuild@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11
5964
6065 # ℹ️ Command-line programs to run using the OS shell.
6166 # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
6873 # ./location_of_script_within_repo/buildscript.sh
6974
7075 - name : Perform CodeQL Analysis
71- uses :
github/codeql-action/[email protected] 76+ uses : github/codeql-action/analyze@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11
7277 with :
7378 category : " /language:${{matrix.language}}"
0 commit comments