13
0
Fork 0
mirror of https://github.com/jdx/mise-action.git synced 2026-07-04 10:29:31 +00:00
Commit graph

4 commits

Author SHA1 Message Date
renovate[bot]
4423dc488b
chore(deps): update jdx/pr-closer action to v1.1.0 (#525)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [jdx/pr-closer](https://redirect.github.com/jdx/pr-closer) | action |
minor | `v1.0.1` β†’ `v1.1.0` |

---

### Release Notes

<details>
<summary>jdx/pr-closer (jdx/pr-closer)</summary>

###
[`v1.1.0`](https://redirect.github.com/jdx/pr-closer/releases/tag/v1.1.0)

[Compare
Source](https://redirect.github.com/jdx/pr-closer/compare/v1.0.2...v1.1.0)

#### What's Changed

- feat: add configurable pull request exclusions by
[@&#8203;jdx](https://redirect.github.com/jdx) in
[#&#8203;5](https://redirect.github.com/jdx/pr-closer/pull/5)
- chore: release v1.1.0 by
[@&#8203;jdx](https://redirect.github.com/jdx) in
[#&#8203;6](https://redirect.github.com/jdx/pr-closer/pull/6)

**Full Changelog**:
<https://github.com/jdx/pr-closer/compare/v1.0.2...v1.1.0>

###
[`v1.0.2`](https://redirect.github.com/jdx/pr-closer/releases/tag/v1.0.2)

[Compare
Source](https://redirect.github.com/jdx/pr-closer/compare/v1.0.1...v1.0.2)

#### What's Changed

- chore: add max-age closing for stale pull requests by
[@&#8203;jdx](https://redirect.github.com/jdx) in
[#&#8203;1](https://redirect.github.com/jdx/pr-closer/pull/1)
- chore: add release PR automation by
[@&#8203;jdx](https://redirect.github.com/jdx) in
[#&#8203;2](https://redirect.github.com/jdx/pr-closer/pull/2)
- chore: run release-plz script with bash by
[@&#8203;jdx](https://redirect.github.com/jdx) in
[#&#8203;3](https://redirect.github.com/jdx/pr-closer/pull/3)
- chore: release v1.0.2 by
[@&#8203;jdx](https://redirect.github.com/jdx) in
[#&#8203;4](https://redirect.github.com/jdx/pr-closer/pull/4)

#### New Contributors

- [@&#8203;jdx](https://redirect.github.com/jdx) made their first
contribution in
[#&#8203;1](https://redirect.github.com/jdx/pr-closer/pull/1)

**Full Changelog**:
<https://github.com/jdx/pr-closer/compare/v1.0.1...v1.0.2>

</details>

---

### Configuration

πŸ“… **Schedule**: (in timezone America/Chicago)

- Branch creation
  - Only on Friday (`* * * * 5`)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

πŸ”• **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/jdx/mise-action).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMzEuMSIsInVwZGF0ZWRJblZlciI6IjQzLjIzMS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-19 05:58:21 +00:00
jdx
26ff5b8173
chore(ci): use pr-closer action (#505)
Some checks failed
Check dist/ / Check dist/ (push) Waiting to run
Continuous Integration / TypeScript Tests (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
release-plz / release-plz (push) Waiting to run
Test Redacted Environment Variables / test-redacted-env (push) Waiting to run
build-test / build (push) Waiting to run
build-test / alpine (push) Waiting to run
build-test / macos (push) Waiting to run
build-test / ubuntu (push) Waiting to run
build-test / windows (push) Waiting to run
build-test / specific_version (push) Waiting to run
build-test / checksum_failure (push) Waiting to run
build-test / custom_cache_key (push) Waiting to run
build-test / fetch_from_github (push) Waiting to run
build-test / final (push) Blocked by required conditions
zizmor / zizmor (push) Has been cancelled
2026-06-04 12:32:59 -05:00
jdx
5b3e4e007b
chore(ci): close failing or conflicted PRs sooner (#480)
Some checks failed
Check dist/ / Check dist/ (push) Has been cancelled
Continuous Integration / TypeScript Tests (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
release-plz / release-plz (push) Has been cancelled
Test Redacted Environment Variables / test-redacted-env (push) Has been cancelled
build-test / build (push) Has been cancelled
build-test / alpine (push) Has been cancelled
build-test / macos (push) Has been cancelled
build-test / ubuntu (push) Has been cancelled
build-test / windows (push) Has been cancelled
build-test / specific_version (push) Has been cancelled
build-test / checksum_failure (push) Has been cancelled
build-test / custom_cache_key (push) Has been cancelled
build-test / fetch_from_github (push) Has been cancelled
zizmor / zizmor (push) Has been cancelled
build-test / final (push) Has been cancelled
## Summary
- close inactive PRs after 7 days only when they have failing checks or
merge conflicts
- include merge state in the PR closer query and close with the specific
reason
- keep existing exclusions for @jdx-authored and keep-open PRs

## Validation
- actionlint .github/workflows/pr-closer.yml
- git diff --check
- jq filter sample validation

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Medium Risk**
> Automates PR closure based on CI/merge-state signals; a bug in the
query or jq logic could incorrectly close active or recoverable PRs.
Limited to GitHub Actions workflow changes but impacts contributor
workflow.
> 
> **Overview**
> Updates the `pr-closer` GitHub Actions workflow to **close PRs much
sooner (7 days inactivity)**, but only when they have *failing checks
and/or merge conflicts*.
> 
> The workflow now queries `mergeStateStatus` and expanded check
conclusions to generate a specific closure reason, skips β€œwarn-only”
states (e.g., cancelled checks/unknown merge state), increases the
listing limit to 500, and adds `concurrency` plus additional read
permissions (`checks`, `statuses`) to support the new filtering.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
34aded28f6. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2026-05-17 11:59:54 -05:00
jdx
e2d499cca6
ci: add workflow to auto-close stale PRs (#409)
## Summary
- Adds a daily workflow that auto-closes PRs inactive for 30+ days
- Skips PRs authored by jdx or labeled `keep-open`
- Includes different close messages depending on CI status (failing vs
passing)

Ported from jdx/mise.

πŸ€– Generated with [Claude Code](https://claude.com/claude-code)

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Low risk: adds a standalone GitHub Actions workflow that only closes
eligible open PRs and does not affect application/runtime code.
> 
> **Overview**
> Adds a new GitHub Actions workflow (`.github/workflows/pr-closer.yml`)
that runs daily (and manually) to close PRs with no activity for 30+
days.
> 
> The job filters out PRs authored by `jdx` or labeled `keep-open`, and
posts a different close comment when CI checks are failing vs passing.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
959b5b27b2. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-22 11:02:34 -05:00