Bump peter-evans/create-issue-from-file from b4f9ee0a9d4abbfc6986601d9b1a4f8f8e74c77e to 376c7d89aa8502748c3b19b6982f6b2b7ff6008b #439
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Merged notification | |
# **What it does**: When we merge an open-source pull request, we want to set expectations that deployment may take awhile. | |
# **Why we have it**: We deploy to production from docs-internal, not docs. | |
# **Who does it impact**: Open-source contributors. | |
on: | |
pull_request_target: | |
types: | |
- 'closed' | |
permissions: | |
issues: write | |
pull-requests: write | |
jobs: | |
comment: | |
if: github.repository == 'github/docs' && github.event.pull_request.merged && github.event.pull_request.base.ref == github.event.repository.default_branch && github.event.pull_request.user.login != 'Octomerger' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d | |
with: | |
script: | | |
github.issues.createComment({ | |
...context.repo, | |
issue_number: context.payload.pull_request.number, | |
body: "Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. If you're looking for your next contribution, check out our [help wanted issues](https://github.com/github/docs/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22) :zap:" | |
}) |