HelperScripts-for-ProxmoxVE/.github/workflows
CanbiZ (MickLesk) a9c2307b0e Enhance PocketBase bot commands & revalidation
Add frontend revalidation and richer command handling for the PocketBase GitHub bot. Key changes:

- Expose FRONTEND_URL and REVALIDATE_SECRET to workflow env and add a best-effort revalidate() helper to ping the frontend after edits.
- Introduce shared parsing/helpers: parseKVPairs, parseTokens, readJsonBlob, formatNotesList, formatMethodsList, and other utilities to centralize logic.
- Add an "info" subcommand to display script details, links, credentials, install methods and notes.
- Improve note handling (add/edit/remove) to use shared parsers and call revalidate after updates; tweak messages and reactions.
- Expand install method management: support add/remove/edit operations, new method fields (cpu, ram, hdd, os, version, config_path, script), validation of unknown fields, and better formatting. Persist install_methods_json as JSON (not stringified JSON) when PATCHing.
- Replace ad-hoc field parsers with the shared key=value parser for field updates and SET handling; call revalidate after SET/field patches.
- Update help text and minor message wording/formatting.
- In push-json-to-pocketbase workflow, remove writing config_path from pushed payload.

These changes aim to make the bot more robust, easier to extend, and ensure frontend caches are refreshed after data changes.
2026-04-14 15:37:50 +02:00
..
scripts Cleanup workflows (#12818) 2026-03-12 14:29:48 +01:00
auto-update-app-headers.yml Revert from Self Hosted to Ubunut-latest for actions (#5965) 2025-07-14 10:04:35 +02:00
autolabeler.yml Cleanup: remove frontend, move JSONs to json/ top-level (#12813) 2026-03-12 13:59:18 +01:00
changelog-archive.yml action: prevent duplicate History section in changelog-archive workflow 2026-02-04 14:04:34 +01:00
changelog-pr.yml chore(github): improve PR template and cleanup obsolete references | move contribution guide (#9700) 2025-12-05 23:08:58 +01:00
check-node-versions.yml Restrict GitHub source extraction to '# Source:' 2026-02-26 14:08:45 +01:00
close-new-script-prs.yml Change runner to self-hosted for PR checks 2026-03-06 09:09:56 +01:00
close-tteck-issues.yaml chore: replace helper-scripts.com with community-scripts.com (#13244) 2026-03-24 20:50:40 +01:00
close_issue_in_dev.yaml toggle is_dev to false when a new script gets merged 2026-03-10 16:07:51 +01:00
delete-pocketbase-entry-on-removal.yml chore: fix pocketbase workflows 2026-03-18 16:57:20 +01:00
github-release.yml Revert from Self Hosted to Ubunut-latest for actions (#5965) 2025-07-14 10:04:35 +02:00
lock-issue.yaml Process oldest issues first; raise page cap 2026-02-03 10:32:18 +01:00
pocketbase-bot.yml Enhance PocketBase bot commands & revalidation 2026-04-14 15:37:50 +02:00
push-json-to-pocketbase.yml Enhance PocketBase bot commands & revalidation 2026-04-14 15:37:50 +02:00
stale_pr_close.yml Create stale_pr_close.yml (#12243) 2026-02-24 09:41:06 +01:00
trigger_github_pages_redirect.yml Add GitHub Actions workflow for Pages redirect 2026-03-11 08:37:46 +01:00
update-script-timestamp-on-sh-change.yml Update script timestamp handling and dev promotion 2026-03-23 10:37:57 +01:00