Skip to content

ci: adds age-gate - #9112

Open
bmuenzenmeyer wants to merge 2 commits into
mainfrom
age-gate
Open

ci: adds age-gate#9112
bmuenzenmeyer wants to merge 2 commits into
mainfrom
age-gate

Conversation

@bmuenzenmeyer

@bmuenzenmeyer bmuenzenmeyer commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Description

Uses a custom GH action to prevent merger before our written policy elapses. There are carve-outs for labels such as fast-track which always pass this check (release blog posts, for example). Of course we can bypass it via admin merge too

Note

If approved, this action needs to be added to the allowlist to succeed.

Validation

Tested across https://github.com/bmuenzenmeyer/pr-age-gate/pulls?q=is%3Apr+is%3Aclosed

Related Issues

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run pnpm format to ensure the code follows the style guide.
  • I have run pnpm test to check if all tests are passing.
  • I have run pnpm build to check if the website builds without errors.
  • I've covered new added functionality with unit tests if necessary.

Copilot AI lite review requested due to automatic review settings August 20, 2026 15:59
@bmuenzenmeyer
bmuenzenmeyer requested review from a team as code owners August 20, 2026 15:59
@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nodejs-org Ready Ready Preview Aug 20, 2026 7:54pm

Request Review

@bmuenzenmeyer bmuenzenmeyer left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

self-review

Comment thread .github/workflows/pull-request-age-gate.yml
@codecov

codecov Bot commented Aug 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.12%. Comparing base (147063e) to head (0610e1e).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9112      +/-   ##
==========================================
+ Coverage   86.05%   86.12%   +0.06%     
==========================================
  Files          86       86              
  Lines        6046     6046              
  Branches      358      357       -1     
==========================================
+ Hits         5203     5207       +4     
+ Misses        839      835       -4     
  Partials        4        4              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a new GitHub Actions workflow intended to enforce the repository’s PR “minimum open time” policy by keeping a required check failing until enough wall-clock time has elapsed (with a fast-track label bypass), including an hourly scheduled re-evaluation.

Changes:

  • Introduces a new Pull Request Age Gate workflow using bmuenzenmeyer/pr-age-gate with a 48-hour minimum and fast-track bypass.
  • Adds an hourly schedule trigger so the check can flip green without new commits.
  • Adds a new (currently empty) Changesets file.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/pull-request-age-gate.yml New workflow that creates/updates a PR check based on PR age with label-based bypass.
.changeset/upset-walls-bet.md Adds a changeset file, but it currently contains no package metadata or description.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/pull-request-age-gate.yml
Comment thread .github/workflows/pull-request-age-gate.yml
Comment on lines +1 to +2
---
---

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We don't need a changeset, the check is non blocking

@github-actions

Copy link
Copy Markdown
Contributor

📦 Build Size Comparison

Summary

Metric Value
Old Total First Load JS 7.06 MB
New Total First Load JS 7.06 MB
Delta 0 B (0.00%)

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.

4 participants