[CHORE]: Tighten up the actions, script to be more robust/self contained #29
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dunwright/git-herald#29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What needs to be done?
action.yaml — takes on all git responsibility
New inputs needed:
git-user-email (default: action@forgejo.com)
git-user-name (default: git-herald)
New output needed:
commit-sha — the new SHA after push, so the caller can stamp PR statuses
New steps to add after the script runs:
git restore --source origin/main -- CHANGELOG.md (currently lives in the caller — belongs here)
git checkout $GITHUB_HEAD_REF (same)
git status --porcelain guard
git config, git add, git commit with [skip ci]
Configure remote URL with token, then git push
Scope
Refactoring
Definition of Done
Additional Context
No response