fix(ci): use shared first merged PR comment action - #8672
Merged
Merged
Conversation
vitormattos
enabled auto-merge (squash)
September 23, 2026 19:39
Signed-off-by: Vitor Mattos <vitor@php.rio>
vitormattos
force-pushed
the
fix/contributor-feedback-action
branch
from
September 23, 2026 20:07
17c820b to
2cd0371
Compare
Signed-off-by: Vitor Mattos <vitor@php.rio>
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.
Summary
Replaces LibreSign's local first-contributor implementation with the shared
LibreCodeCoop/github-workflowsaction introduced by LibreCodeCoop/github-workflows#172.The workflow now contains only LibreSign-specific presentation content. Detection of a contributor's first merged pull request, manual retry, idempotency, URL placeholder rendering, and GitHub API access are provided by the shared action.
Security
The previous third-party Docker action and the intermediate
actions/github-scriptimplementation are both removed.The final workflow:
6816f216b2b04d5dd63d01711f88c5ff1d1e0740;permissions: {};pull-requests: writeto the job.LibreSign message
LibreSign owns the complete message through the required repository Actions variable
FIRST_MERGED_PR_MESSAGE.The workflow passes
vars.FIRST_MERGED_PR_MESSAGEdirectly to the shared action. There is no inline fallback message; a missing or empty variable causes the action to fail instead of publishing unexpected content.The shared action only provides generic placeholders. LibreSign composes its own survey URL, good-first-issue URL, community link and contributor mention directly in the message.
The survey context is generated with:
Automatic and manual execution
The workflow runs automatically when a pull request is closed and merged.
It also supports
workflow_dispatchwith a requiredpull_request_number. This allows us to:The shared action evaluates whether the target PR was that contributor's first merged PR at the time it was closed and skips duplicates.
After merge, PR #8311 will be used as the production validation case.
Signed-off-by: Vitor Mattos vitor@php.rio