[PR #2319] [MERGED] [gh] Workflow to change date on new json files #3691

Closed
opened 2026-02-26 13:34:21 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/2319
Author: @michelroegl-brunner
Created: 2/12/2025
Status: Merged
Merged: 2/13/2025
Merged by: @michelroegl-brunner

Base: mainHead: workflow_json


📝 Commits (1)

  • 172763b [gh] Workflow to change date on new json files

📊 Changes

2 files changed (+159 additions, -0 deletions)

View changed files

.github/workflows/delete-json-branch.yml (+28 -0)
.github/workflows/update-json-date.yml (+131 -0)

📄 Description

✍️ Description

This Workflow changes the date_create field in newly added .json files and opens a PR for them.
When the JSON Update PR is run, another PR runs to delete the created branch. The random branch name is nesecary as you can not easily push to a existing branch with gh actions. You would have to pull the branch and rebase it, but this dose not seem to work properly.

Prerequisites

Before this PR can be reviewed, the following must be completed:

  • Self-review performed – Code follows established patterns and conventions.
  • Testing performed – Changes have been thoroughly tested and verified.

🛠️ Type of Change

Select all that apply:

  • [] 🐞 Bug fix – Resolves an issue without breaking functionality.
  • New feature – Adds new, non-breaking functionality.
  • [] 💥 Breaking change – Alters existing functionality in a way that may require updates.
  • [] 🆕 New script – A fully functional and tested script or script set.

📋 Additional Information (optional)

image


🔄 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/community-scripts/ProxmoxVE/pull/2319 **Author:** [@michelroegl-brunner](https://github.com/michelroegl-brunner) **Created:** 2/12/2025 **Status:** ✅ Merged **Merged:** 2/13/2025 **Merged by:** [@michelroegl-brunner](https://github.com/michelroegl-brunner) **Base:** `main` ← **Head:** `workflow_json` --- ### 📝 Commits (1) - [`172763b`](https://github.com/community-scripts/ProxmoxVE/commit/172763bb27bd0229122503027185eafde3cb4d9c) [gh] Workflow to change date on new json files ### 📊 Changes **2 files changed** (+159 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/delete-json-branch.yml` (+28 -0) ➕ `.github/workflows/update-json-date.yml` (+131 -0) </details> ### 📄 Description ## ✍️ Description <!-- Provide a clear and concise description of your changes. --> This Workflow changes the `date_create` field in newly added .json files and opens a PR for them. When the JSON Update PR is run, another PR runs to delete the created branch. The random branch name is nesecary as you can not easily push to a existing branch with gh actions. You would have to pull the branch and rebase it, but this dose not seem to work properly. ## 🔗 Related PR / Discussion / Issue ## ✅ Prerequisites Before this PR can be reviewed, the following must be completed: - [X] **Self-review performed** – Code follows established patterns and conventions. - [X] **Testing performed** – Changes have been thoroughly tested and verified. ## 🛠️ Type of Change Select all that apply: - [] 🐞 **Bug fix** – Resolves an issue without breaking functionality. - [X] ✨ **New feature** – Adds new, non-breaking functionality. - [] 💥 **Breaking change** – Alters existing functionality in a way that may require updates. - [] 🆕 **New script** – A fully functional and tested script or script set. ## 📋 Additional Information (optional) <!-- Provide extra context, screenshots, or references if needed. --> ![image](https://github.com/user-attachments/assets/63fc360e-4b94-4b2f-b7f9-07a0420716e8) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 13:34:21 +03:00
Sign in to join this conversation.
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
starred/ProxmoxVE#3691
No description provided.