Skip to content

Commit 794ef5e

Browse files
subatoiCopilot
andauthored
Adds workflow for automatic comment requesting feedback on contributor experience (#58152)
Co-authored-by: Copilot <[email protected]>
1 parent 7fc4953 commit 794ef5e

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Automatic comment to request feedback on PR experience
2+
3+
# What it does: When PRs are merged, generate an automatic comment asking for feedback.
4+
# Why we have it: So Hubbers can leave us feedback on the DIY Docs experience.
5+
# Who it impacts: All Hubbers
6+
7+
on:
8+
pull_request:
9+
types:
10+
- closed
11+
12+
jobs:
13+
add-comment:
14+
if: github.repository == 'github/docs-internal' && github.event.pull_request.merged == true
15+
permissions:
16+
contents: read
17+
pull-requests: write
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Comment on the PR
21+
run: |
22+
gh pr comment ${{ github.event.pull_request.number }} --body "Please leave feedback on the contributor experience! Leave a 👍 or 👎. You can also reach us in `#docs-contributor-feedback` on Slack."
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)