[PR #9] [MERGED] Fix open next to main PR workflow by adding checkout #5

Closed
opened 2026-06-08 09:05:01 +00:00 by ryangr0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/webgrip/renovate-config/pull/9
Author: @Ryangr0
Created: 6/3/2026
Status: Merged
Merged: 6/3/2026
Merged by: @Ryangr0

Base: mainHead: next


📝 Commits (7)

  • 43a1783 ci(actions): Update actions/checkout action ( v4.3.1 ➔ v6.0.2 ) (#7)
  • 7a95701 ci(actions): Update actions/setup-node action ( v4.4.0 ➔ v6.4.0 ) (#8)
  • 234af5e Merge branch 'main' into next
  • 9cd63a3 chore(release): v1.4.0-rc.1 [skip ci]
  • 63f622e Merge branch 'main' into next
  • 078f11d Add checkout before promotion PR creation
  • 57099ab Pin checkout action in promotion workflow

📊 Changes

4 files changed (+22 additions, -8 deletions)

View changed files

📝 .github/workflows/on_source_change.yml (+4 -4)
📝 .github/workflows/open_promotion_pr.yml (+2 -0)
📝 .github/workflows/validate.yml (+4 -4)
📝 CHANGELOG.md (+12 -0)

📄 Description

Summary

Fixes the failing open next to main PR Actions job by checking out the repository before running gh pr commands.
This resolves the fatal: not a git repository failure seen in run 26868141694 / job 79236464907.

Also updates the checkout step to the same SHA-pinned actions/checkout reference used in other workflows for consistency.

Presets affected

None.
This change only updates CI workflow behavior and does not modify Renovate preset JSON content.

Consumer impact

No preset behavior changes for consumers.
Impact is limited to repository automation: promotion PR creation from next to main now runs reliably.

Checklist

  • Documentation and examples are updated if behavior changed
  • The validator passes for every shared preset
  • The release/tagging impact is described

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/webgrip/renovate-config/pull/9 **Author:** [@Ryangr0](https://github.com/Ryangr0) **Created:** 6/3/2026 **Status:** ✅ Merged **Merged:** 6/3/2026 **Merged by:** [@Ryangr0](https://github.com/Ryangr0) **Base:** `main` ← **Head:** `next` --- ### 📝 Commits (7) - [`43a1783`](https://github.com/webgrip/renovate-config/commit/43a178386d44a06a89d944a2d560883af3ebc4f3) ci(actions): Update actions/checkout action ( v4.3.1 ➔ v6.0.2 ) (#7) - [`7a95701`](https://github.com/webgrip/renovate-config/commit/7a957012fa116ea75fde173c034e4920e9dad10c) ci(actions): Update actions/setup-node action ( v4.4.0 ➔ v6.4.0 ) (#8) - [`234af5e`](https://github.com/webgrip/renovate-config/commit/234af5eec5748d70b1d20c1095bee31fd0d275bf) Merge branch 'main' into next - [`9cd63a3`](https://github.com/webgrip/renovate-config/commit/9cd63a30e79a57c3952acf6561a3302b8904a426) chore(release): v1.4.0-rc.1 [skip ci] - [`63f622e`](https://github.com/webgrip/renovate-config/commit/63f622e67cd9a07e3ed9950cf392ae3ebba6feb0) Merge branch 'main' into next - [`078f11d`](https://github.com/webgrip/renovate-config/commit/078f11db5381c8c90758d4486559196a3dbdd022) Add checkout before promotion PR creation - [`57099ab`](https://github.com/webgrip/renovate-config/commit/57099ab6108da639742aaf8a864a2c7625d34801) Pin checkout action in promotion workflow ### 📊 Changes **4 files changed** (+22 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/on_source_change.yml` (+4 -4) 📝 `.github/workflows/open_promotion_pr.yml` (+2 -0) 📝 `.github/workflows/validate.yml` (+4 -4) 📝 `CHANGELOG.md` (+12 -0) </details> ### 📄 Description ## Summary Fixes the failing `open next to main PR` Actions job by checking out the repository before running `gh pr` commands. This resolves the `fatal: not a git repository` failure seen in run `26868141694` / job `79236464907`. Also updates the checkout step to the same SHA-pinned `actions/checkout` reference used in other workflows for consistency. ## Presets affected None. This change only updates CI workflow behavior and does not modify Renovate preset JSON content. ## Consumer impact No preset behavior changes for consumers. Impact is limited to repository automation: promotion PR creation from `next` to `main` now runs reliably. ## Checklist - [ ] Documentation and examples are updated if behavior changed - [ ] The validator passes for every shared preset - [x] The release/tagging impact is described --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
ryangr0 2026-06-08 09:05:01 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
webgrip/renovate-config#5
No description provided.