Skip to content

Cleanup and fix workflows for adding git trailers#586

Open
cmainas wants to merge 1 commit intomainfrom
fix_add_git_trailers
Open

Cleanup and fix workflows for adding git trailers#586
cmainas wants to merge 1 commit intomainfrom
fix_add_git_trailers

Conversation

@cmainas
Copy link
Copy Markdown
Contributor

@cmainas cmainas commented Apr 29, 2026

Description

Clean up the workflows that add git trailers after an approval of a review. In particular:

  • make the check for the rebasable PR a job condition.
  • remove duplicate step for adding git trailers and setting up git, since this takes place inside the resuable action for the git trailers too.

Moreover, update the reference for the reusable action pointing to an updated version that fixes the issue with multiple names and also adds a check if a reviewer or approver was not found. In case they are not found, the action fails and therefore the push to main will not take place.

Related issues

How was this tested?

In a forked repository. Here is the action with a user that specifies an entry in contributors file with more than two words in the name field.

The action that fails if no reviewer or approver was found https://github.com/urunc-dev/urunc_test/actions/runs/25101512205/job/73551668496
The action that succeeds: https://github.com/urunc-dev/urunc_test/actions/runs/25102831636/job/73556303675

LLM usage

Assisted by Opus 4.6 through Copilot.

Checklist

  • I have read the contribution guide.
  • The linter passes locally (make lint).
  • The e2e tests of at least one tool pass locally (make test_ctr, make test_nerdctl, make test_docker, make test_crictl).
  • If LLMs were used: I have read the llm policy.

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 29, 2026

Deploy Preview for urunc canceled.

Name Link
🔨 Latest commit 18cb236
🔍 Latest deploy log https://app.netlify.com/projects/urunc/deploys/69f1d8d25618d10008bfbabf

@cmainas cmainas force-pushed the fix_add_git_trailers branch from 199c9cf to 18cb236 Compare April 29, 2026 10:09
@cmainas cmainas requested a review from ananos April 29, 2026 10:10
@cmainas cmainas marked this pull request as ready for review April 29, 2026 10:10
Clean up the workflows that add git trailers after an approval of a
review. In particular:
- move the check if the PR can get rebased a job condition
- remove duplicate step for adding git trailers and setting up git,
  since this takes place inside the reusable action for the git
  trailers.

Signed-off-by: Charalampos Mainas <charalampos.mainas@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The action to add git trailers fails for users with multiple names

1 participant