mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-10 08:27:04 +00:00
ci: auto-sync amy Homebrew formula on release; fix bump failure-reporter perms
Add bump-homebrew-formula.yml: on a stable release it downloads the published amy-<version>-jvm.tar.gz bundle, computes its sha256, and opens a PR syncing cli/packaging/homebrew/amy.rb's url + sha256 — automating the manual step the formula header calls out and keeping the reference formula ready for the homebrew-core submission. The homebrew-core auto-bump is deferred (documented TODO) because brew bump-formula-pr can only bump a formula already in the tap, and amy has not been submitted to homebrew-core yet. Also fix the "Report failure" step in bump-homebrew.yml and bump-winget.yml: both declared `permissions: contents: read`, but github.rest.issues.create needs issues:write, so the failure reporter itself 403'd and never filed an alert. Add issues:write to both. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TGdEUziwC3Uc3XhB7DFQYt
This commit is contained in:
@@ -12,6 +12,10 @@ on:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
# The "Report failure" step below opens a [release-ops] issue via
|
||||
# github.rest.issues.create; that needs issues:write. Without it the failure
|
||||
# reporter itself 403s and no alert is ever filed.
|
||||
issues: write
|
||||
|
||||
concurrency:
|
||||
group: bump-winget-${{ github.event.release.tag_name || inputs.tag }}
|
||||
|
||||
Reference in New Issue
Block a user