Skip to content

Truncate commit-derived workflow run names - #26

Merged
maansaake merged 2 commits into
mainfrom
maansaake/truncate-workflow-run-names
May 23, 2026
Merged

Truncate commit-derived workflow run names#26
maansaake merged 2 commits into
mainfrom
maansaake/truncate-workflow-run-names

Conversation

@maansaake

Copy link
Copy Markdown
Owner

Summary

  • replace commit-message-derived workflow run names with compact commit identifiers
  • preserve existing pull request title or number behavior where already in use
  • fall back to github.sha when head_commit is unavailable

Testing

  • parse the modified workflow YAML with PyYAML

Måns Thörnvik and others added 2 commits May 23, 2026 23:28
## Summary
- replace commit-message-derived workflow run names with compact commit identifiers
- preserve existing pull request title or number behavior where already in use
- fall back to `github.sha` when `head_commit` is unavailable

## Testing
- parse the modified workflow YAML with PyYAML

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Replace the push-side SHA fallback with a compact readable fallback
based on the branch name and workflow run number while keeping PR
numbers and titles unchanged.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@maansaake
maansaake force-pushed the maansaake/truncate-workflow-run-names branch from cd2a6a0 to 54b72c6 Compare May 23, 2026 21:28
@maansaake
maansaake merged commit c670b56 into main May 23, 2026
14 checks passed
@maansaake
maansaake deleted the maansaake/truncate-workflow-run-names branch May 23, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant