Skip to content

refactor goreleaser workflows to use GitHub app tokens#1832

Merged
anthony-gomez-fastly merged 4 commits into
mainfrom
CDTOOL-1298
Jun 26, 2026
Merged

refactor goreleaser workflows to use GitHub app tokens#1832
anthony-gomez-fastly merged 4 commits into
mainfrom
CDTOOL-1298

Conversation

@anthony-gomez-fastly

Copy link
Copy Markdown
Member

Change summary

  • Replace personal access token with ephemeral tokens from Fastly DevEx Workflows GitHub app

    • Remove unused AUR (Arch User Repository) configuration and related secrets handling
    • Implement two-phase Homebrew publishing: generate formula on draft, publish on release
    • Add artifact storage for Homebrew formula between draft and publish workflows
    • Update publish_release workflow name to reflect expanded scope beyond NPM
    • Clean up .gitignore to remove aur_key reference

    This ensures Homebrew formula is only published when the GitHub release is
    officially published (not on draft creation), enabling proper version control
    and allowing users to rollback via homebrew-tap git history.

    Resolves the timing issue where AUR and Homebrew were publishing during draft
    creation instead of waiting for official release publication.

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

New Feature Submissions:

  • Does your submission pass tests?

Comment thread .github/workflows/publish_release.yml Fixed
Comment thread .github/workflows/publish_release.yml Fixed
@anthony-gomez-fastly anthony-gomez-fastly added the Skip-Changelog do not add a changelog entry for this change label Jun 25, 2026
- Replace personal access token with ephemeral tokens from Fastly DevEx Workflows GitHub app
  - Remove unused AUR (Arch User Repository) configuration and related secrets handling
  - Implement two-phase Homebrew publishing: generate formula on draft, publish on release
  - Add artifact storage for Homebrew formula between draft and publish workflows
  - Update publish_release workflow name to reflect expanded scope beyond NPM
  - Clean up .gitignore to remove aur_key reference

  This ensures Homebrew formula is only published when the GitHub release is
  officially published (not on draft creation), enabling proper version control
  and allowing users to rollback via homebrew-tap git history.

  Resolves the timing issue where AUR and Homebrew were publishing during draft
  creation instead of waiting for official release publication.
@anthony-gomez-fastly anthony-gomez-fastly marked this pull request as ready for review June 25, 2026 19:44
@anthony-gomez-fastly anthony-gomez-fastly requested a review from a team as a code owner June 25, 2026 19:44

@kpfleming kpfleming left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some simplifications which can be made, but overall this is going in a good direction.

Comment thread .github/workflows/publish_release.yml Outdated
Comment thread .github/workflows/tag_to_draft_release.yml Outdated
Comment thread .github/workflows/tag_to_draft_release.yml Outdated
@anthony-gomez-fastly anthony-gomez-fastly enabled auto-merge (squash) June 26, 2026 15:43
@kpfleming kpfleming removed the request for review from jedisct1 June 26, 2026 15:44
@anthony-gomez-fastly anthony-gomez-fastly merged commit 396bfda into main Jun 26, 2026
14 checks passed
@anthony-gomez-fastly anthony-gomez-fastly deleted the CDTOOL-1298 branch June 26, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Skip-Changelog do not add a changelog entry for this change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants