-
Notifications
You must be signed in to change notification settings - Fork 55
Downgrade CodeQL action versions to specific commits #351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,7 +34,7 @@ jobs: | |
|
|
||
| # Initializes the CodeQL tools for scanning. | ||
| - name: Initialize CodeQL | ||
| uses: github/codeql-action/init@v4 | ||
| uses: github/codeql-action/init@cf1bb45a277cb3c205638b2cd5c984db1c46a412 | ||
| with: | ||
| languages: ${{ matrix.language }} | ||
| # If you wish to specify custom queries, you can do so here or in a config file. | ||
|
|
@@ -48,7 +48,7 @@ jobs: | |
| # If this step fails, then you should remove it and run the build manually (see below) | ||
| - name: Autobuild | ||
| if: ${{ matrix.language != 'java' }} | ||
| uses: github/codeql-action/autobuild@v4 | ||
| uses: github/codeql-action/autobuild@cf1bb45a277cb3c205638b2cd5c984db1c46a412 | ||
|
|
||
| - name: Setup JDK | ||
| uses: actions/setup-java@v5 | ||
|
|
@@ -73,6 +73,6 @@ jobs: | |
| # ./location_of_script_within_repo/buildscript.sh | ||
|
|
||
| - name: Perform CodeQL Analysis | ||
| uses: github/codeql-action/analyze@v4 | ||
| uses: github/codeql-action/analyze@cf1bb45a277cb3c205638b2cd5c984db1c46a412 | ||
|
Comment on lines
37
to
76
|
||
| with: | ||
| category: "/language:${{matrix.language}}" | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding a comment explaining why this specific commit is pinned and what issue it resolves. The PR description mentions "incorrectly classify languages" but this workflow only analyzes Java. This would help future maintainers understand the decision and know when it's safe to upgrade.