Skip to content

Commit

Permalink
Unpin codeql actions (#5787)
Browse files Browse the repository at this point in the history
## Which problem is this PR solving?
- Renovate bot does not upgrade these because the main branch there is
on v2
- Code scanning does not need to be locked down as strictly as
reproducible builds

## Description of the changes
- Use v3 instead of exact commit or exact semver
- The logs still show the exact version used, e.g.
`CODEQL_ACTION_VERSION: 3.25.15`

## How was this change tested?
- CI

Signed-off-by: Yuri Shkuro <github@ysh.us>
  • Loading branch information
yurishkuro authored Jul 30, 2024
1 parent b7a9e44 commit 12f8fbb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@b611370bb5703a7efb587f9d136a52ea24c5c38c # v3.25.11
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -53,7 +53,7 @@ jobs:
# queries: ./path/to/local/query, your-org/your-repo/queries@main

- name: Autobuild
uses: github/codeql-action/autobuild@b611370bb5703a7efb587f9d136a52ea24c5c38c # v3.25.11
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@b611370bb5703a7efb587f9d136a52ea24c5c38c # v3.25.11
uses: github/codeql-action/analyze@v3

0 comments on commit 12f8fbb

Please sign in to comment.