Skip to content

fix(ci): classify Dependabot updates by metadata - #74

Merged
jbdevprimary merged 1 commit into
mainfrom
fix/dependabot-metadata-filters
Aug 24, 2026
Merged

fix(ci): classify Dependabot updates by metadata#74
jbdevprimary merged 1 commit into
mainfrom
fix/dependabot-metadata-filters

Conversation

@jbdevprimary

Copy link
Copy Markdown
Contributor

Summary

  • classify Dependabot PRs using its authoritative update metadata instead of branch-name heuristics
  • skip expensive CI and enable merge-commit auto-merge only for minor and patch updates
  • preserve full validation and review for major updates
  • record the newly required, SHA-pinned action and enforce the policy through release-hygiene tests

Validation

  • actionlint .github/workflows/*.yml
  • tox -e py313 (803 passed)
  • pnpm --dir docs validate

@coderabbitai

coderabbitai Bot commented Aug 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 47 minutes.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: e95e00cb-ca80-42cd-b617-1821d784b2df

📥 Commits

Reviewing files that changed from the base of the PR and between 6fed5cf and 0a157b9.

📒 Files selected for processing (3)
  • .github/workflows/automerge.yml
  • .github/workflows/ci.yml
  • packages/extended-data/tests/core/test_release_hygiene.py

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

Comment @coderabbitai help to get the list of available commands.

@jbdevprimary
jbdevprimary enabled auto-merge August 24, 2026 16:38

@amazon-q-developer amazon-q-developer Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The refactoring from branch-name heuristics to authoritative Dependabot metadata classification is well-implemented. The PR correctly uses dependabot/fetch-metadata to determine semver update types, properly centralizes classification logic in the CI workflow, and maintains consistent SHA-pinned action hygiene across both workflow files and documentation.

The implementation correctly preserves the intended behavior: minor and patch updates skip expensive CI and enable auto-merge, while major updates receive full validation and manual review. All tests are appropriately updated to validate the new metadata-based approach.


You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.

@jbdevprimary
jbdevprimary force-pushed the fix/dependabot-metadata-filters branch from 004f4e1 to 0a157b9 Compare August 24, 2026 16:42

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 004f4e1f31

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/ci.yml
contains(github.event.pull_request.head.ref, '/non-major-'))
)
needs: classify-pr
if: always() && needs.classify-pr.outputs.skip-expensive-ci != 'true'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve workflow cancellation in downstream guards

When this workflow is manually canceled or superseded, always() remains true, so the newly guarded test job—and the quality, SonarQube, and dependency-review jobs using the same pattern—can continue or start despite cancellation. This can run the entire expensive CI suite after an operator attempted to stop it; use a cancellation-aware status check such as !cancelled() while retaining the fail-open behavior for classification failures.

Useful? React with 👍 / 👎.

@sonarqubecloud

Copy link
Copy Markdown

@jbdevprimary
jbdevprimary merged commit dc6fbe6 into main Aug 24, 2026
17 checks passed
@jbdevprimary
jbdevprimary deleted the fix/dependabot-metadata-filters branch August 24, 2026 16:44
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.

1 participant