diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index e650fd706..4db411018 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,5 +1,5 @@ name: CodeQL -'on': +"on": push: branches: - main @@ -25,12 +25,12 @@ jobs: - name: Setup Go uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - - go-version-file: "go.mod" - - cache: false + go-version-file: "go.mod" + cache: false - name: Initialize CodeQL uses: github/codeql-action/init@e4262713b504983e61c7728f5452be240d9385a7 # codeql-bundle-v2.14.3 with: - languages: '${{ matrix.language }}' + languages: "${{ matrix.language }}" - name: Autobuild uses: github/codeql-action/autobuild@e4262713b504983e61c7728f5452be240d9385a7 # codeql-bundle-v2.14.3 - name: Perform CodeQL Analysis