Revert "Adds workflow for automatic comment requesting feedback on contributor experience (#58152)" (#58162)
This commit is contained in:
24
.github/workflows/docs-feedback-comment.yaml
vendored
24
.github/workflows/docs-feedback-comment.yaml
vendored
@@ -1,24 +0,0 @@
|
|||||||
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 }}
|
|
||||||
Reference in New Issue
Block a user