@@ -40,16 +40,18 @@ jobs:
4040
4141 steps :
4242 - name : Checkout repository
43- uses : actions/checkout@v4
43+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
44+ with :
45+ persist-credentials : false
4446
4547 - name : Set up Go
46- uses : actions/setup-go@v5
48+ uses : actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
4749 with :
4850 go-version-file : go.mod
4951
5052 # Initializes the CodeQL tools for scanning.
5153 - name : Initialize CodeQL
52- uses : github/codeql-action/init@v3
54+ uses : github/codeql-action/init@ce64ddcb0d8d890d2df4a9d1c04ff297367dea2a # v3.35.2
5355 with :
5456 languages : ${{ matrix.language }}
5557 # If you wish to specify custom queries, you can do so here or in a config file.
6365 # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
6466 # If this step fails, then you should remove it and run the build manually (see below)
6567 - name : Autobuild
66- uses : github/codeql-action/autobuild@v3
68+ uses : github/codeql-action/autobuild@ce64ddcb0d8d890d2df4a9d1c04ff297367dea2a # v3.35.2
6769
6870 # ℹ️ Command-line programs to run using the OS shell.
6971 # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
7678 # ./location_of_script_within_repo/buildscript.sh
7779
7880 - name : Perform CodeQL Analysis
79- uses : github/codeql-action/analyze@v3
81+ uses : github/codeql-action/analyze@ce64ddcb0d8d890d2df4a9d1c04ff297367dea2a # v3.35.2
8082 with :
8183 category : " /language:${{matrix.language}}"
0 commit comments