Add PR user login to enforce-issue-linked-pr workflow log message#687
Merged
Conversation
Contributor
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
Co-authored-by: A1L13N <193832434+A1L13N@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] add the pr.user.login message to line 25 when it says checking pr
Add PR user login to enforce-issue-linked-pr workflow log message
Oct 4, 2025
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.
This PR enhances the logging output in the
enforce-issue-linked-pr.ymlGitHub Actions workflow by including the PR author's username in the initial check message.Changes
Updated line 25 of
.github/workflows/enforce-issue-linked-pr.ymlto include the PR author's login:Before:
After:
Benefits
This change improves workflow log readability by making it immediately clear which user created the PR being checked. This is particularly useful when reviewing workflow runs and debugging issues, as it provides better context without needing to navigate to the PR itself.
The
pr.user.loginvalue is already available in the workflow context and is used elsewhere in the script (e.g., for exempt user checking), so this is a simple, zero-risk enhancement to the logging output.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.