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 dc024d9

Browse filesBrowse files
danielleadamsRafaelGSS
authored andcommitted
meta: automate description requests when notable change label is added
PR-URL: #47078 Fixes: nodejs/Release#821 Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Tierney Cyren <hello@bnb.im> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 0c613c9 commit dc024d9
Copy full SHA for dc024d9

File tree

Expand file treeCollapse file tree

1 file changed

+15
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+15
-0
lines changed
Open diff view settings
Collapse file

‎.github/workflows/comment-labeled.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/comment-labeled.yml
+15Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ env:
1010
This issue/PR was marked as stalled, it will be automatically closed in 30 days.
1111
If it should remain open, please leave a comment explaining why it should remain open.
1212
FAST_TRACK_MESSAGE: Fast-track has been requested by @${{ github.actor }}. Please 👍 to approve.
13+
NOTABLE_CHANGE_MESSAGE: |
14+
The ${{ github.event.label.url }} label has been added by @${{ github.actor }}.
15+
16+
Please suggest a text for the release notes if you'd like to include a more detailed summary, then proceed to update the PR description with the text or a link to the notable change suggested text comment.
1317
1418
permissions:
1519
contents: read
@@ -38,3 +42,14 @@ jobs:
3842
env:
3943
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4044
run: gh pr comment ${{ github.event.pull_request.number }} --repo ${{ github.repository }} --body "$FAST_TRACK_MESSAGE"
45+
46+
notable-change:
47+
permissions:
48+
pull-requests: write
49+
if: github.repository == 'nodejs/node' && github.event_name == 'pull_request_target' && github.event.label.name == 'notable-change'
50+
runs-on: ubuntu-latest
51+
steps:
52+
- name: Add notable change description
53+
env:
54+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
55+
run: gh pr comment ${{ github.event.pull_request.number }} --repo ${{ github.repository }} --body "$NOTABLE_CHANGE_MESSAGE"

0 commit comments

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