491 Commits

Author SHA1 Message Date
Michel Roegl-Brunner
4385451b37 ci: rework Discord lifecycle + migration workflows
- Merge defer-discord-thread.yml and delete-discord-thread.yml into
  create-ready-for-testing-message.yml (ready/lock/close jobs)
- Derive script slug from the "Name of the Script" issue field
  (lowercase + spaces->dashes), use issue-title case for display
- Fix slug mismatch (tr -d ' ' vs dashes) that broke delete_new_script
- move-to-main: PR title/body taken from the issue

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-02 11:26:48 +02:00
Sam Heinz
4eecc6ad70 update files in .github to support arm64 2026-05-22 23:58:38 +10:00
CanbiZ (MickLesk)
bb762d7254 switch discord bot
Co-authored-by: Copilot <copilot@github.com>
2026-04-28 10:56:16 +02:00
github-actions[bot]
b644365284 chore: update app headers [skip ci] 2026-04-24 08:13:33 +00:00
CanbiZ (MickLesk)
a5c28465ea Update auto-update-app-headers.yml 2026-04-24 10:10:00 +02:00
Tobias
51acc3af9a fix: pr close flow 2026-04-19 19:49:47 +02:00
Tobias
f67a9a6b0c fix: check for nonexistent requirements section
Updated the PR script to handle cases where the application requirements are missing or unchecked more effectively. Added checks for the 'keep-open' label and improved messaging for maintainers.
2026-04-19 13:49:36 +02:00
Tobias
cfcffacfaa fix: non-reviewed PR
don't close PR that have not been reviewed at all
2026-04-19 13:31:08 +02:00
CanbiZ (MickLesk)
60b9d22c77 Update push_json_to_pocketbase.yml 2026-04-15 13:16:25 +02:00
CanbiZ (MickLesk)
25d831acf7 ci: remove repo scope from app token (app not installed on ProxmoxVED) 2026-04-15 08:44:40 +02:00
CanbiZ (MickLesk)
c5e6387e69 ci: bump create-github-app-token to v3 2026-04-15 08:42:02 +02:00
CanbiZ (MickLesk)
0b9e701efc ci: use GitHub App token to bypass branch protection 2026-04-15 08:41:18 +02:00
CanbiZ (MickLesk)
5b49f3d08c ci: fix push race condition with pull --rebase 2026-04-15 08:39:34 +02:00
CanbiZ (MickLesk)
c1657122e8 ci: add auto-update-app-headers workflow 2026-04-15 08:31:06 +02:00
CanbiZ (MickLesk)
b061ce7325 Update pocketbase-bot.yml 2026-04-14 15:39:40 +02:00
CanbiZ (MickLesk)
e7f33b6586 feat: revalidate frontend cache after PB push, remove root config_path
- Added 'Revalidate Frontend Cache' step that calls /api/revalidate
  with the synced script slugs after successful PocketBase push
- Removed root-level config_path from payload (now inside install_methods)
- Requires FRONTEND_URL and REVALIDATE_SECRET secrets
2026-04-14 14:58:52 +02:00
CanbiZ (MickLesk)
935f9d9d3d Use notes and install_methods fields
Update PocketBase bot and import workflow to use direct `notes` and `install_methods` fields instead of the older `notes_json`/`install_methods_json` relations. Adjust parsing, PATCH/POST payloads and error messages accordingly, remove project_url handling, and drop the separate resolution/creation of related note/install_method records in the import script. Also update docs to reflect the new field names and clean up some formatting and allowed-field lists.
2026-04-14 13:57:03 +02:00
Tobias
7a2538fded Change pull_request to pull_request_target event 2026-04-09 14:45:17 +02:00
Tobias
f7309582db fix: pr-scripts-requirement action 2026-04-09 14:01:41 +02:00
MickLesk
3999830b2c fix(workflow): trigger PocketBase push only on 'Ready For Testing' label, not on push to main 2026-04-04 23:20:50 +02:00
copilot-swe-agent[bot]
5c2c89774f Fix: set execute_in to ['lxc', 'vm'] for addon type in push_json_to_pocketbase workflow
Agent-Logs-Url: https://github.com/community-scripts/ProxmoxVED/sessions/229f4038-6916-4f1b-b6be-c6727b1274c1

Co-authored-by: MickLesk <47820557+MickLesk@users.noreply.github.com>
2026-03-29 09:51:00 +00:00
copilot-swe-agent[bot]
1f1a8d2400 Fix execute_in addon validation failure in push_json_to_pocketbase workflow
Agent-Logs-Url: https://github.com/community-scripts/ProxmoxVED/sessions/8cd78421-f401-4c18-9ee5-a60963a92795

Co-authored-by: MickLesk <47820557+MickLesk@users.noreply.github.com>
2026-03-29 09:47:59 +00:00
copilot-swe-agent[bot]
6bcbdc8b4c fix: avoid shell injection when issue body contains single quotes in move-to-main-repo workflow
Agent-Logs-Url: https://github.com/community-scripts/ProxmoxVED/sessions/218a4dbe-5133-4ddf-a076-4b2a9db9dd45

Co-authored-by: MickLesk <47820557+MickLesk@users.noreply.github.com>
2026-03-28 21:07:50 +00:00
Tobias
e76681ed8e Improve stale PR auto-labeling and management
Enhance stale PR management by auto-labeling PRs with no activity in the last 14 days and maintaining existing stale PR handling.
2026-03-22 13:58:26 +01:00
CanbiZ (MickLesk)
34250d6adf Update move-to-main-repo.yaml 2026-03-20 13:23:59 +01:00
CanbiZ (MickLesk)
7738065237 Enhance PocketBase workflow; fix installer scripts
Workflow: add push trigger for main branch on json/*.json and update the "Get JSON file for script" step to handle both workflow_dispatch and push events. The step now collects changed json/*.json files, validates each has a .slug with jq, ignores metadata/update-apps.json/versions.json, writes changed_app_jsons.txt, and sets a count output for downstream steps.

Installer & ct scripts: normalize indentation/formatting, ensure aliases.json and plugin-settings.json are initialized as {} and repos.json as [] when missing, and add missing trailing newlines. These changes improve robustness and shellcheck friendliness and make the workflow respond to direct pushes of app JSON files.
2026-03-20 13:21:50 +01:00
CanbiZ (MickLesk)
0527db122b feat(bot): add version to ALLOWED_FIELDS 2026-03-19 08:47:04 +01:00
CanbiZ (MickLesk)
b689917eee fix(bot): handle PocketBase returning JSON fields as pre-parsed objects 2026-03-18 19:39:44 +01:00
CanbiZ (MickLesk)
8bb2f28b48 debug(bot): show raw field values in method list when count=0 2026-03-18 19:36:51 +01:00
CanbiZ (MickLesk)
71c02e052b fix(bot): fallback to expanded install_methods relation when install_methods_json is empty 2026-03-18 19:05:32 +01:00
CanbiZ (MickLesk)
105dceb42e refactor(bot): use notes_json and install_methods_json directly, remove extra table dependencies 2026-03-18 18:59:47 +01:00
CanbiZ (MickLesk)
366626be9c feat(pocketbase-bot): add method subcommand + set command for HTML/multiline values 2026-03-18 17:26:43 +01:00
CanbiZ (MickLesk)
599aa97a92 feat(pocketbase-bot): add note add/edit/remove/list subcommands 2026-03-18 17:24:10 +01:00
CanbiZ (MickLesk)
3981500e65 fix(pocketbase-bot): align ALLOWED_FIELDS with actual PocketBase schema 2026-03-18 17:13:10 +01:00
CanbiZ (MickLesk)
b96c20db88 feat(workflows): add PocketBase Bot for contributor commands via issue comments 2026-03-18 17:05:12 +01:00
CanbiZ (MickLesk)
b365a78807 fix(workflows): last_update_commit uses script files (ct/vm/install) not JSON 2026-03-18 16:40:09 +01:00
CanbiZ (MickLesk)
47b5bd40f8 feat(workflows): enrich PocketBase payload with notes_json, install_methods_json, execute_in, github, project_url, last_update_commit 2026-03-18 16:37:55 +01:00
CanbiZ (MickLesk)
170dce61d2 Update push_json_to_pocketbase.yml 2026-03-18 16:22:00 +01:00
CanbiZ (MickLesk)
85de978ea4 fix(workflows): set script_updated to current date on push to PocketBase 2026-03-18 16:21:44 +01:00
CanbiZ (MickLesk)
0762e41e83 fix(workflows): follow HTTP redirects in PocketBase request function 2026-03-18 16:18:23 +01:00
Michel Roegl-Brunner
3a7a195fdc chage worflow 2026-03-12 15:17:15 +01:00
Michel Roegl-Brunner
27f39963ec Change workflow to no longer include jsons 2026-03-12 15:06:00 +01:00
Michel Roegl-Brunner
5bf7c84f29 remove/change workflows 2026-03-12 14:28:30 +01:00
CanbiZ (MickLesk)
c87e326387 refactor: move json/ to top-level, remove frontend/, update workflows
- Move frontend/public/json/ to json/ (top-level)
- Update all workflow path references to json/
- Delete frontend-cicd.yml workflow
- Delete frontend/ directory entirely
- Clean up .gitattributes (remove frontend entries)
2026-03-12 14:11:07 +01:00
Michel Roegl-Brunner
262a3a72f4 Test workflow 2026-03-11 15:29:54 +01:00
Michel Roegl-Brunner
2a79253118 Test 2026-03-11 14:12:59 +01:00
Michel Roegl-Brunner
909f37ab7a Append workflow 2026-03-11 14:04:26 +01:00
Michel Roegl-Brunner
aadeab7568 Add GitHub Pages redirect workflow 2026-03-11 08:41:08 +01:00
Tobias
69be85f81b Update unmet-pr-close.yml 2026-03-10 22:14:45 +01:00
Tobias
597cb21870 Create unmet-pr-close.yml 2026-03-10 22:12:37 +01:00