chore: improve various gha pipeline#8076
Merged
olblak merged 5 commits intoupdatecli:mainfrom Mar 25, 2026
Merged
Conversation
Signed-off-by: Olblak <[email protected]>
Signed-off-by: Olblak <[email protected]>
* Notify new release on OpenCollective, Mastodon, and Blueskey * Trigger goreleaser on release tag Signed-off-by: Olblak <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the repository’s release and automation configuration, primarily to improve GitHub Actions hygiene and extend the release process with social media announcements.
Changes:
- Adds GoReleaser
announceconfiguration to publish release announcements (Bluesky, Mastodon, OpenCollective). - Updates Updatecli pipeline labeling and adjusts the Updatecli workflow label filter accordingly.
- Cleans up and modernizes GitHub Actions workflows (permissions tightening, runner version bumps, release workflow trigger adjustments, and attestation step).
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
updatecli/updatecli.d/updatecli.yaml |
Updates Updatecli pipeline labels (monitor: active, release: updatecli). |
.goreleaser.yml |
Adds social announcements configuration under announce. |
.github/workflows/updatecli_update.yaml |
Tightens workflow token permissions and updates label filter to monitor:active. |
.github/workflows/updatecli.yaml |
Tightens workflow token permissions (currently impacts checkout). |
.github/workflows/release.yaml |
Moves release trigger to tag pushes, bumps runner, adds attestation, and wires announcement secrets. |
.github/workflows/release-drafter.yml |
Adds explicit workflow permissions and bumps runner version. |
.github/release-drafter.yaml |
Normalizes YAML quoting and adds a “Sponsors” section to the release notes template. |
Comments suppressed due to low confidence (2)
.github/workflows/updatecli_update.yaml:17
- With
permissions: {}at the workflow level and no job-levelpermissionsoverride, the defaultGITHUB_TOKENhas nocontents: readaccess.actions/checkouttypically requirescontents: readto clone the repo, so this workflow may fail at checkout. Addpermissions: { contents: read }(workflow or job level), or configure checkout to avoid usingGITHUB_TOKEN(e.g.,persist-credentials: falseand an alternate token).
permissions: {}
jobs:
updatecli:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: "actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3" # v6.0.0
.github/workflows/updatecli.yaml:16
- With
permissions: {}at the workflow level and no job-levelpermissionsoverride, the defaultGITHUB_TOKENhas nocontents: readaccess.actions/checkoutgenerally needscontents: readto fetch the repository, so this workflow may fail at the checkout step. Addpermissions: { contents: read }(workflow or job), or adjust checkout to avoid relying onGITHUB_TOKEN.
permissions: {}
jobs:
updatecli:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: "actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3" # v6.0.0
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Various GitHub action improvements
v*monitor:activeTest
Untested 🤷🏾
Additional Information
Checklist
Tradeoff
Potential improvement