File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -16,17 +16,20 @@ jobs:
16
16
steps :
17
17
- name : Determine PR or Issue
18
18
id : define-message
19
+ env :
20
+ TITLE_ISSUE : ${{ github.event.issue.title }}
21
+ TITLE_PR : ${{ github.event.pull_request.title }}
19
22
run : |
20
23
if [[ -n "${{ github.event.pull_request.number }}" ]]; then
21
24
number="${{ github.event.pull_request.number }}"
22
25
link="https://github.com/${{ github.repository }}/pull/$number"
23
26
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"
25
28
else
26
29
number="${{ github.event.issue.number }}"
27
30
link="https://github.com/${{ github.repository }}/issues/$number"
28
31
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"
30
33
fi
31
34
32
35
- name : Slack Notification
You can’t perform that action at this time.
0 commit comments