Repository navigation
ci: notify Scoop bucket after stable releases - #5
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
releasetogorse-io/scoop-bucketusing the GitHub repository-dispatch API.SCOOP_BUCKET_TOKENsecret rather than the repository-scoped built-in token.Prerequisites / merge order
SCOOP_BUCKET_TOKENin gorse-io/cli as a fine-grained PAT restricted togorse-io/scoop-bucket, with Contents: Read and write, plus any required organization approval.No credentials were created or changed. The required secret was not present when inspected. Missing/expired credentials fail the notification job, not the independent npm publication job. The bucket receiver can also be run manually.
Verification
git diff --checkpassed.needs: binaries, prerelease filtering, and matching sender/receiver event type.ghand asserted the exact repository-dispatch arguments; no live event was sent.The actual release-to-Windows-update path remains unverified until the receiver is merged and the secret is configured. No release was published for testing.
Prior-head remote CI
CI run https://github.com/gorse-io/cli/actions/runs/40174659019 passed on head
f479abd3487b9778337e6b0c911f6215b51d7b37: Go tests and all five installer matrix jobs. These checks do not execute the new release notification job.Event type update
Both senders and the receiver now use
release. actionlint and mocked sender/receiver matching checks passed. Previous CI results above apply to the earlier heads; new-head CI is pending. No live dispatch was sent.