Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Sep 12, 2025

This PR enhances security by pinning GitHub Actions dependencies to specific commit SHAs and updates the Dependabot configuration to use a weekly update schedule with grouped updates.

Changes Made

GitHub Actions Pinning

  • actions/checkout@v5actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
  • actions/setup-java@v5actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165

Both actions have been pinned to their v5.0.0 release commits with inline comments that include only version information:

Example of the new format:

- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

Commit URLs for verification:

Dependabot Configuration Updates

  • Changed GitHub Actions update schedule from daily to weekly
  • Added grouping configuration to consolidate all GitHub Actions updates into a single PR
  • Maven dependencies remain on daily schedule unchanged

Security Benefits

  • Protects against supply chain attacks by ensuring exact commit verification
  • Commit URLs provide transparency and enable easy verification of action authenticity
  • Weekly grouped updates reduce maintenance overhead while maintaining security

Files Updated

  • .github/workflows/main.yml - All GitHub Actions pinned
  • .github/workflows/release.yml - All GitHub Actions pinned
  • .github/dependabot.yml - Updated schedule and grouping

Fixes #282.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Copy link
Contributor Author

Copilot AI commented Sep 12, 2025

@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.

Copilot AI changed the title [WIP] Pin GitHub Actions dependencies, switch to weekly update schedule Pin GitHub Actions dependencies, switch to weekly update schedule Sep 12, 2025
Copilot AI requested a review from scordio September 12, 2025 06:48
@scordio
Copy link
Member

scordio commented Sep 12, 2025

@copilot when I wrote:

each changed line should be commented with the URL pointing to the corresponding commit in the actions repository

I actually meant a comment in the Pull Request, not in the code. The inlined comment should contain the version only, e.g.:

# v5.0.0

Copy link
Contributor Author

Copilot AI commented Sep 12, 2025

@copilot when I wrote:

each changed line should be commented with the URL pointing to the corresponding commit in the actions repository
...

Updated the inline comments to show only version information (e.g., # v5.0.0). The commit URLs are now documented in the PR description instead. Fixed in commit 947b8e8.

@scordio scordio marked this pull request as ready for review September 12, 2025 07:42
@scordio scordio merged commit 365748f into main Sep 12, 2025
15 checks passed
@scordio scordio deleted the copilot/fix-282 branch September 12, 2025 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pin GitHub Actions dependencies, switch to weekly update schedule

2 participants