Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b1ca7ab

Browse filesBrowse files
avivkellerRafaelGSS
authored andcommitted
meta: show PR/issue title on review-wanted
PR-URL: #55606 Refs: https://openjs-foundation.slack.com/archives/C019Y2T6STH/p1730308054959239?thread_ts=1730296053.898089&cid=C019Y2T6STH Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
1 parent 34483a2 commit b1ca7ab
Copy full SHA for b1ca7ab

File tree

Expand file treeCollapse file tree

1 file changed

+5
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-2
lines changed
Open diff view settings
Collapse file

‎.github/workflows/notify-on-review-wanted.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/notify-on-review-wanted.yml
+5-2Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,20 @@ jobs:
1616
steps:
1717
- name: Determine PR or Issue
1818
id: define-message
19+
env:
20+
TITLE_ISSUE: ${{ github.event.issue.title }}
21+
TITLE_PR: ${{ github.event.pull_request.title }}
1922
run: |
2023
if [[ -n "${{ github.event.pull_request.number }}" ]]; then
2124
number="${{ github.event.pull_request.number }}"
2225
link="https://github.com/${{ github.repository }}/pull/$number"
2326
echo "message=The PR (#$number) requires review from Node.js maintainers. See: $link" >> "$GITHUB_OUTPUT"
24-
echo "title=${{ github.actor }} asks for attention on pull request #$number" >> "$GITHUB_OUTPUT"
27+
echo "title=$TITLE_PR" >> "$GITHUB_OUTPUT"
2528
else
2629
number="${{ github.event.issue.number }}"
2730
link="https://github.com/${{ github.repository }}/issues/$number"
2831
echo "message=The issue (#$number) requires review from Node.js maintainers. See: $link" >> "$GITHUB_OUTPUT"
29-
echo "title=${{ github.actor }} asks for attention on issue #$number" >> "$GITHUB_OUTPUT"
32+
echo "title=$TITLE_ISSUE" >> "$GITHUB_OUTPUT"
3033
fi
3134
3235
- name: Slack Notification

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.