Skip to content

Bump releaseo to v0.0.3 and preserve original release actor through workflow chain#3560

Merged
danbarr merged 2 commits into
mainfrom
preserve-release-actor
Feb 3, 2026
Merged

Bump releaseo to v0.0.3 and preserve original release actor through workflow chain#3560
danbarr merged 2 commits into
mainfrom
preserve-release-actor

Conversation

@danbarr

@danbarr danbarr commented Feb 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds workflow steps to preserve the GitHub actor who triggered the release workflow, passing it through to downstream workflows like docs-website updates.

Bumps releaseo action to v0.0.3 which introduced this capability.

Problem

When using the new release workflow:

  1. User triggers create-release-pr.yml via workflow_dispatchgithub.actor is the user
  2. Release PR is merged, triggering create-release-tag.yml which creates the release using RELEASE_TOKEN
  3. releaser.yml is triggered by the release event → github.actor is now stacklokbot (the PAT owner)

This breaks PR assignment in the docs-website repo, which receives stacklokbot instead of the original triggering user.

Solution

  1. releaseo adds a Release-Triggered-By: username git trailer to commits
  2. create-release-tag.yml extracts the trailer and embeds it in the release body as an HTML comment
  3. releaser.yml parses the release body and passes the original actor to downstream workflows

Changes

  • create-release-tag.yml: Extract Release-Triggered-By trailer, embed in release body
  • releaser.yml: Add extract-release-actor job, use extracted actor for docs update and Slack notifications

Dependencies

Important

This PR is blocked on:

Test Plan

  • Verify releaseo adds the trailer to commits
  • Verify create-release-tag.yml extracts trailer and includes in release body
  • Verify releaser.yml extracts actor from release body
  • Verify docs-website PR is assigned to correct user

🤖 Generated with Claude Code

@github-actions github-actions Bot added the size/XS Extra small PR: < 100 lines changed label Feb 3, 2026
@codecov

codecov Bot commented Feb 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.55%. Comparing base (a73bf3d) to head (84237dd).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3560      +/-   ##
==========================================
+ Coverage   65.47%   65.55%   +0.08%     
==========================================
  Files         404      404              
  Lines       39781    39781              
==========================================
+ Hits        26047    26079      +32     
+ Misses      11720    11689      -31     
+ Partials     2014     2013       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

danbarr and others added 2 commits February 3, 2026 09:55
Add infrastructure to preserve the GitHub actor who triggered the
release workflow, passing it through to downstream workflows like
docs-website updates.

Changes:
- create-release-tag.yml: Extract Release-Triggered-By git trailer
  from commit and embed in release body as HTML comment
- releaser.yml: Add extract-release-actor job to parse release body
  and pass actor to update-docs-website and Slack notifications

This change is blocked on stacklok/releaseo#20 which adds the
Release-Triggered-By trailer to commits created by releaseo.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Dan Barr <6922515+danbarr@users.noreply.github.com>
@danbarr danbarr force-pushed the preserve-release-actor branch from dba53ae to 84237dd Compare February 3, 2026 14:55
@github-actions github-actions Bot added size/XS Extra small PR: < 100 lines changed and removed size/XS Extra small PR: < 100 lines changed labels Feb 3, 2026
@danbarr danbarr changed the title Preserve original release actor through workflow chain Bump releaseo to v0.0.3 and preserve original release actor through workflow chain Feb 3, 2026
@github-actions github-actions Bot added size/XS Extra small PR: < 100 lines changed and removed size/XS Extra small PR: < 100 lines changed labels Feb 3, 2026
@danbarr danbarr marked this pull request as ready for review February 3, 2026 14:57
@danbarr danbarr requested a review from JAORMX as a code owner February 3, 2026 14:57
@danbarr danbarr merged commit b3e850a into main Feb 3, 2026
33 checks passed
@danbarr danbarr deleted the preserve-release-actor branch February 3, 2026 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Extra small PR: < 100 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants