diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 94eb26935..a62e69f3b 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -74,7 +74,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL if: needs.check.outputs.enabled == 'true' - uses: github/codeql-action/init@0116bc2df50751f9724a2e35ef1f24d22f90e4e1 # v2 + uses: github/codeql-action/init@49abf0ba24d0b7953cb586944e918a0b92074c80 # v2 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -88,7 +88,7 @@ jobs: # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild if: needs.check.outputs.enabled == 'true' - uses: github/codeql-action/autobuild@0116bc2df50751f9724a2e35ef1f24d22f90e4e1 # v2 + uses: github/codeql-action/autobuild@49abf0ba24d0b7953cb586944e918a0b92074c80 # v2 # ℹī¸ Command-line programs to run using the OS shell. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun @@ -102,6 +102,6 @@ jobs: - name: Perform CodeQL Analysis if: needs.check.outputs.enabled == 'true' - uses: github/codeql-action/analyze@0116bc2df50751f9724a2e35ef1f24d22f90e4e1 # v2 + uses: github/codeql-action/analyze@49abf0ba24d0b7953cb586944e918a0b92074c80 # v2 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index f9ac6d806..5d4d4891c 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -57,7 +57,7 @@ jobs: continue-on-error: true - name: Upload analysis results to GitHub - uses: github/codeql-action/upload-sarif@0116bc2df50751f9724a2e35ef1f24d22f90e4e1 # v2 + uses: github/codeql-action/upload-sarif@49abf0ba24d0b7953cb586944e918a0b92074c80 # v2 if: steps.eslint-config.outputs.exists == 'true' with: sarif_file: eslint-results.sarif diff --git a/.github/workflows/njsscan.yml b/.github/workflows/njsscan.yml index d81da8cef..5248e4c61 100644 --- a/.github/workflows/njsscan.yml +++ b/.github/workflows/njsscan.yml @@ -67,6 +67,6 @@ jobs: args: ". --sarif --output results.sarif || true" - name: Upload njsscan report if: needs.check.outputs.enabled == 'true' - uses: github/codeql-action/upload-sarif@0116bc2df50751f9724a2e35ef1f24d22f90e4e1 # v2 + uses: github/codeql-action/upload-sarif@49abf0ba24d0b7953cb586944e918a0b92074c80 # v2 with: sarif_file: results.sarif diff --git a/.github/workflows/ossar.yml b/.github/workflows/ossar.yml index 885da1078..5cbaafbec 100644 --- a/.github/workflows/ossar.yml +++ b/.github/workflows/ossar.yml @@ -81,6 +81,6 @@ jobs: # Upload results to the Security tab - name: Upload OSSAR results if: needs.check.outputs.enabled == 'true' - uses: github/codeql-action/upload-sarif@0116bc2df50751f9724a2e35ef1f24d22f90e4e1 # v2 + uses: github/codeql-action/upload-sarif@49abf0ba24d0b7953cb586944e918a0b92074c80 # v2 with: sarif_file: ${{ steps.ossar.outputs.sarifFile }}