Skip to content

chore(ci): Update actions; add dependabot cfg - #138

Open
dmihalcik-virtru wants to merge 1 commit into
mainfrom
feature/update-actions
Open

dmihalcik-virtru wants to merge 1 commit into
mainfrom
feature/update-actions

Conversation

@dmihalcik-virtru

@dmihalcik-virtru dmihalcik-virtru commented Aug 27, 2024 •

Copy link
Copy Markdown
Member
  • Lets dependabot update action pins
  • Pins some unpinned actions

Summary by CodeRabbit

  • Chores
    • Updated automated dependency update settings: GitHub Actions updates run monthly with a seven-day cooldown, while Maven updates remain limited to security updates.
    • Updated the versions used by automated code analysis and platform-branch workflows, making their behavior more consistent over time. Existing workflow inputs and timeouts are unchanged.

@dmihalcik-virtru
dmihalcik-virtru marked this pull request as ready for review August 27, 2024 14:32
@dmihalcik-virtru
dmihalcik-virtru requested review from a team as code owners August 27, 2024 14:32
elizabethhealy
elizabethhealy previously approved these changes Aug 27, 2024
@sonarqubecloud

Copy link
Copy Markdown

Pin the remaining third-party actions referenced by tag (codeql-action v3,
actions/checkout v3) to full commit SHAs with the version in a trailing
comment, matching the rest of the workflows. Add a github-actions ecosystem
to dependabot.yml so it opens monthly version-update PRs that bump both the
SHA and the version comment, with a 7-day cooldown so new releases have time
to be vetted before pins move to them. Internal opentdf/* reusable workflows
and actions stay on @main.

Verified: no remaining unpinned non-opentdf 'uses:' refs; SHAs resolved via
git ls-remote against the upstream tags; dependabot.yml parses.

Signed-off-by: Dave Mihalcik <dmihalcik@virtru.com>
@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Dependabot configuration now includes GitHub Actions update settings. The CodeQL and platform-branch workflows use actions pinned to commit SHAs.

Changes: Automation Configuration

Layer / File(s) Summary
Dependabot update settings
.github/dependabot.yml
The Maven pull-request limit and commit-message prefixes remain. The file adds monthly GitHub Actions updates, a seven-day default cooldown, and a chore(ci) prefix.
Workflow action pins
.github/workflows/codeql.yaml, .github/workflows/update-platform-branch.yaml
The workflows replace floating action tags with commit SHAs. The CodeQL step inputs and timeouts remain unchanged.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other

Suggested reviewers: jentfoo

Merge Risk: Minimal · up to 0f62a

This change pins third-party GitHub Actions to commit SHAs and enables monthly Dependabot update PRs for them. The change itself is low risk and mergeable. Dependabot PRs may hit Buf rate limits without credentials, which is an operational detail to watch rather than a merge blocker.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "chore(ci): Update actions; add dependabot cfg" matches the main changes. The PR pins the GitHub Actions in the CodeQL, update-platform-branch, and checkout workflows to commit SHAs. It also…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title "chore(ci): Update actions; add dependabot cfg" matches the main changes. The PR pins the GitHub Actions in the CodeQL, update-platform-branch, and checkout workflows to commit SHAs. It also adds a Dependabot configuration for GitHub Actions updates. The title is specific and uses the conventional commit prefix. It does not mention the SHA pinning, so it covers the main point only in part, which still counts as related.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

A rabbit checks the monthly plan
And pins each action where it ran
The cooldown waits for seven days
While tidy commits mark the ways
I nibble greens and hop away

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 76effc3b-9060-4c1c-ac5e-3ec81025e500
Commits

Reviewing files that changed from the base of the PR and between 0658fd0 and 0f62a3a.

Files selected for processing: 3

  • .github/dependabot.yml
  • .github/workflows/codeql.yaml
  • .github/workflows/update-platform-branch.yaml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown
Contributor

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.

2 participants