diff --git a/.github/workflows/codeql.go.yml b/.github/workflows/codeql.go.yml index d6073cffc5..7287d28d8f 100644 --- a/.github/workflows/codeql.go.yml +++ b/.github/workflows/codeql.go.yml @@ -23,6 +23,7 @@ on: pull_request: branches: [ master ] paths: + - .github/workflows/codeql.go.yml - "**/*.go" types: [opened, reopened, ready_for_review, synchronize] @@ -37,14 +38,14 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: go # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually - name: Autobuild - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v2 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2 diff --git a/.github/workflows/codeql.javascript.yml b/.github/workflows/codeql.javascript.yml index df85748c2a..edc377616d 100644 --- a/.github/workflows/codeql.javascript.yml +++ b/.github/workflows/codeql.javascript.yml @@ -23,6 +23,7 @@ on: pull_request: branches: [ master ] paths: + - .github/workflows/codeql.javascript.yml - "**/*.js" types: [opened, reopened, ready_for_review, synchronize] @@ -37,14 +38,14 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: javascript # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually - name: Autobuild - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v2 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2 diff --git a/.github/workflows/codeql.python.yml b/.github/workflows/codeql.python.yml index eb97f4d817..87556826f7 100644 --- a/.github/workflows/codeql.python.yml +++ b/.github/workflows/codeql.python.yml @@ -23,6 +23,7 @@ on: pull_request: branches: [ master ] paths: + - .github/workflows/codeql.python.yml - "**/*.py" types: [opened, reopened, ready_for_review, synchronize] @@ -37,14 +38,14 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: python # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually - name: Autobuild - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v2 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2