mirror of
https://github.com/Danilop95/Proxmox-Enhanced-Configuration-Utility.git
synced 2026-02-11 20:40:56 +01:00
Add a GitHub Actions workflow that reads `PECU-Channel:` metadata from the release description and injects a standardized Shields.io badge. Corrections included: - Fix `SyntaxError: Identifier 'core' has already been declared` by relying on github-script provided globals (core/github/context) instead of re-importing. - Runs on release publish/edit events, plus scheduled scans and manual dispatch. - Inserts or updates the badge block between fixed markers. - Skips releases without `PECU-Channel` metadata. - Avoids self-trigger loops by ignoring release events authored by github-actions[bot] and by performing no-op updates when the body is unchanged. - Supports `workflow_dispatch` input to process a single tag or all releases.