@@ -31,12 +31,17 @@ jobs:
3131 # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
3232
3333 steps :
34+ - name : Harden the runner (Audit all outbound calls)
35+ uses : step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
36+ with :
37+ egress-policy : audit
38+
3439 - name : Checkout repository
35- uses : actions/checkout@v3
40+ uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
3641
3742 # Initializes the CodeQL tools for scanning.
3843 - name : Initialize CodeQL
39- uses : github/codeql-action/init@v2
44+ uses : github/codeql-action/init@b8d3b6e8af63cde30bdc382c0bc28114f4346c88 # v2.28.1
4045 with :
4146 languages : ${{ matrix.language }}
4247 # If you wish to specify custom queries, you can do so here or in a config file.
5055 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5156 # If this step fails, then you should remove it and run the build manually (see below)
5257 - name : Autobuild
53- uses : github/codeql-action/autobuild@v2
58+ uses : github/codeql-action/autobuild@b8d3b6e8af63cde30bdc382c0bc28114f4346c88 # v2.28.1
5459
5560 # ℹ️ Command-line programs to run using the OS shell.
5661 # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
6368 # ./location_of_script_within_repo/buildscript.sh
6469
6570 - name : Perform CodeQL Analysis
66- uses : github/codeql-action/analyze@v2
71+ uses : github/codeql-action/analyze@b8d3b6e8af63cde30bdc382c0bc28114f4346c88 # v2.28.1
0 commit comments