Skip to content

Add PR user login to enforce-issue-linked-pr workflow log message#687

Merged
A1L13N merged 2 commits into
mainfrom
copilot/fix-b5bb1665-af08-46ee-87c2-5fc1997c30b5
Oct 4, 2025
Merged

Add PR user login to enforce-issue-linked-pr workflow log message#687
A1L13N merged 2 commits into
mainfrom
copilot/fix-b5bb1665-af08-46ee-87c2-5fc1997c30b5

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Oct 4, 2025

This PR enhances the logging output in the enforce-issue-linked-pr.yml GitHub 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.yml to include the PR author's login:

Before:

console.log(`Checking PR #${prNumber} for linked issues in Development section`);

After:

console.log(`Checking PR #${prNumber} by ${pr.user.login} for linked issues in Development section`);

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.login value 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

On enforce-issue-linked-pr.yml, add the pr.user.login message to line 25 when it says checking pr


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Oct 4, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

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
Copilot AI requested a review from A1L13N October 4, 2025 23:01
@A1L13N A1L13N marked this pull request as ready for review October 4, 2025 23:02
@A1L13N A1L13N merged commit b57a27d into main Oct 4, 2025
1 check passed
@A1L13N A1L13N deleted the copilot/fix-b5bb1665-af08-46ee-87c2-5fc1997c30b5 branch October 4, 2025 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants