Merged
Conversation
Use target branch from github variables instead of using hardcoded master or main Signed-off-by: Kostis Papazafeiropoulos <papazof@gmail.com>
Signed-off-by: Kostis Papazafeiropoulos <papazof@gmail.com>
Remove special characters from `pr_user` as we do for `pr_reviewers` and `pr_approver` Signed-off-by: Kostis Papazafeiropoulos <papazof@gmail.com>
Replace git format-patch/am with git rebase Signed-off-by: Kostis Papazafeiropoulos <papazof@gmail.com>
Add CI workflow to validate action code Signed-off-by: Kostis Papazafeiropoulos <papazof@gmail.com>
Use GH CLI in place of manual CURL calls, add check for existing trailers and clean up code logic: - Use GH CLI to fetch and parse PR information - Use `action/checkout` to check out the PR branch and add `token` input to properly handle checkout access permissions. Use a subdirectory to avoid messing up previous checkouts in `GITHUB_WORKSPACE`. - Add step to check if trailers exist and avoid re-adding existing trailers. Add inputs to control if the action will only check for the existence of required trailers and, optionally, fail if the trailers do not exist. Add output with the check result, updated by the addition of the trailers. - Improve user parsing by stripping '[bot]' from fetched app/bot logins and searching in both user-info keys and names for bot users - Clean up steps, variable names and use `GITHUB_OUTPUT` instead of `GITHUB_ENV` Signed-off-by: Kostis Papazafeiropoulos <papazof@gmail.com>
ananos
approved these changes
Mar 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use git rebase, GH CLI and clean up code:
action/checkoutto check out the PR branch and addtokeninput to properly handle checkout access permissionsGITHUB_OUTPUTinstead ofGITHUB_ENV