1
0
mirror of synced 2025-12-19 09:57:42 -05:00

Adds workflow for automatic comment requesting feedback on contributor experience (#58152)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Ben Ahmady
2025-10-23 16:42:14 +01:00
committed by GitHub
parent 7fc4953984
commit 794ef5e466

View File

@@ -0,0 +1,24 @@
name: Automatic comment to request feedback on PR experience
# What it does: When PRs are merged, generate an automatic comment asking for feedback.
# Why we have it: So Hubbers can leave us feedback on the DIY Docs experience.
# Who it impacts: All Hubbers
on:
pull_request:
types:
- closed
jobs:
add-comment:
if: github.repository == 'github/docs-internal' && github.event.pull_request.merged == true
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Comment on the PR
run: |
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."
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}