mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-08-12 20:51:37 +00:00
35884cb8c9
Moving approval to a GitHub Environment fixed the failure it was meant to fix, and quietly broke something that worked. The old gate polled a file for 30 minutes holding a runner; on 2026-07-30 the window expired unseen and cancelled a deploy. What replaced it holds the run for 30 days on no runner and records who approved which SHA — but only answers to a browser. For a single approver that means being at a PC for a deploy to move. The notification now carries Approve and Reject buttons that answer the environment's pending deployment through @pexsecBot. Nothing about the enforcement changes: the protection rule still holds the deploy, and the bot only presses the button as the reviewer. If the bot, its host, or its token is gone, a release waits — none of that lets an unapproved deploy through. The GitHub link stays as the fallback. Bot side: pezkuwichain/pexsec-bot (new private repo — it had been an unversioned copy on NEW-10 with three .bak files beside it).