mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
meta: automate description requests when notable change label is added
PR-URL: https://github.com/nodejs/node/pull/47078 Fixes: https://github.com/nodejs/Release/issues/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>
This commit is contained in:
1 parent
0c613c9347
commit
dc024d930a
1 file changed
+15
@@ -10,6 +10,10 @@ env:
|
||||
This issue/PR was marked as stalled, it will be automatically closed in 30 days.
|
||||
If it should remain open, please leave a comment explaining why it should remain open.
|
||||
FAST_TRACK_MESSAGE: Fast-track has been requested by @${{ github.actor }}. Please 👍 to approve.
|
||||
NOTABLE_CHANGE_MESSAGE: |
|
||||
The ${{ github.event.label.url }} label has been added by @${{ github.actor }}.
|
||||
|
||||
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.
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -38,3 +42,14 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: gh pr comment ${{ github.event.pull_request.number }} --repo ${{ github.repository }} --body "$FAST_TRACK_MESSAGE"
|
||||
|
||||
notable-change:
|
||||
permissions:
|
||||
pull-requests: write
|
||||
if: github.repository == 'nodejs/node' && github.event_name == 'pull_request_target' && github.event.label.name == 'notable-change'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Add notable change description
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: gh pr comment ${{ github.event.pull_request.number }} --repo ${{ github.repository }} --body "$NOTABLE_CHANGE_MESSAGE"
|
||||
Reference in new issue
Block a user