Use the shared cicdeex actions #20

Merged
Djeex merged 2 commits from use-cicdeex into main 2026-11-22 12:35:25 +01:00
Owner

Summary

  • Switch the CI to the shared labeex/cicdeex 1.1.0 actions: secret-scan, hadolint, trivy (CRITICAL blocking, HIGH informative), remediate (weekly scan apk upgrade pull request), publish (VERSION bump, images on both registries, Gitea and GitHub releases).
  • The workflow drops from about 240 to 60 lines; the build, tests and shellcheck stay here.
  • New: a Discord message when a push to main or the weekly scan fails (notify, secret DISCORD_WEBHOOK_URL).
  • No secret is used inside shell code any more: tokens only go to the actions as inputs.
  • Removes the dry-run pilot step.

Test plan

  • Pilot (#18): on the real 1.1.5 release, the cicdeex dry-run produced the same bump commit (same hash), the same 6 image tags and the same Gitea and GitHub release payloads as the inline step
  • cicdeex 1.1.0: 59 unit tests, mutations caught, old vs new publish and remediate identical on all repositories and scenarios
  • actionlint clean (the SC2140 warning of the old script is gone)
  • CI green on this pull request (secret-scan, hadolint and trivy actions; notify sends nothing on a pull request)
  • After merge: main run green, no publish (workflow only)
  • Next container change: real publish through the action
## Summary - Switch the CI to the shared labeex/cicdeex 1.1.0 actions: secret-scan, hadolint, trivy (CRITICAL blocking, HIGH informative), remediate (weekly scan `apk upgrade` pull request), publish (VERSION bump, images on both registries, Gitea and GitHub releases). - The workflow drops from about 240 to 60 lines; the build, tests and shellcheck stay here. - New: a Discord message when a push to main or the weekly scan fails (`notify`, secret DISCORD_WEBHOOK_URL). - No secret is used inside shell code any more: tokens only go to the actions as inputs. - Removes the dry-run pilot step. ## Test plan - [x] Pilot (#18): on the real 1.1.5 release, the cicdeex dry-run produced the same bump commit (same hash), the same 6 image tags and the same Gitea and GitHub release payloads as the inline step - [x] cicdeex 1.1.0: 59 unit tests, mutations caught, old vs new publish and remediate identical on all repositories and scenarios - [x] actionlint clean (the SC2140 warning of the old script is gone) - [ ] CI green on this pull request (secret-scan, hadolint and trivy actions; notify sends nothing on a pull request) - [ ] After merge: main run green, no publish (workflow only) - [ ] Next container change: real publish through the action
Djeex added 2 commits 2026-11-22 12:25:20 +01:00
Djeex merged commit 95f536092b into main 2026-11-22 12:35:25 +01:00
Djeex deleted branch use-cicdeex 2026-11-22 12:35:26 +01:00
Sign in to join this conversation.