Pin GitHub Actions dependencies with commit SHAs and update Dependabot to weekly schedule#316
Merged
Pin GitHub Actions dependencies with commit SHAs and update Dependabot to weekly schedule#316
Conversation
Contributor
Author
|
@scordio 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs. I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review. |
…t to weekly schedule - Pin actions/checkout@v4 to specific commit SHA with version comment - Pin actions/setup-java@v4 to specific commit SHA with version comment - Update Dependabot to weekly schedule for GitHub Actions - Group all GitHub Actions updates in single group Co-authored-by: scordio <26772046+scordio@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Pin GitHub Actions dependencies, switch to weekly update schedule
Pin GitHub Actions dependencies with commit SHAs and update Dependabot to weekly schedule
Sep 13, 2025
Member
|
@VanRoy @joel-costigliola I think there is a more general issue with Sonar across all projects that we have to look into: If you agree, I'd merge these changes and take up Sonar separately. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR improves security and reduces CI noise by pinning GitHub Actions dependencies to specific commit SHAs and updating the Dependabot configuration.
Changes Made
GitHub Actions Workflow (
.github/workflows/build.yml)actions/checkout@v4to commit08eba0b27e820071cde6df949e0beb9ba4906955with inline comment# v4.3.0actions/setup-java@v4to commitc5195efecf7bdfc987ee8bae7a71cb8b11521c00with inline comment# v4.7.1Dependabot Configuration (
.github/dependabot.yml)Security Benefits
Verification
The commit SHAs can be verified at:
All changes have been tested to ensure YAML syntax is valid and the build process continues to work correctly.
Fixes #315.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/actions/checkout/commits/08eba0b27e820071cde6df949e0beb9ba4906955curl -s REDACTED(http block)https://api.github.com/repos/actions/checkout/releases/latestcurl -s REDACTED(http block)https://api.github.com/repos/actions/setup-java/commits/c5195efecf7bdfc987ee8bae7a71cb8b11521c00curl -s REDACTED(http block)repository.sonatype.org/usr/lib/jvm/temurin-17-jdk-amd64/bin/java -classpath /home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1/boot/plexus-classworlds-2.8.0.jar -Dclassworlds.conf=/home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1/bin/m2.conf -Dmaven.home=/home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1 -Dlibrary.jansi.path=/home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/assertj-db/assertj-db org.codehaus.plexus.classworlds.launcher.Launcher clean compile -q(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.