Delete payment_notification.yml - now handled by Payments app
This commit is contained in:
parent
39e57cc7a4
commit
acf5a53e8e
36
.github/workflows/payment_notification.yml
vendored
36
.github/workflows/payment_notification.yml
vendored
@ -1,36 +0,0 @@
|
||||
# When the appropriate label is applied, notify user that payment is waiting
|
||||
#
|
||||
name: "Payment Notification"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [ labeled ]
|
||||
|
||||
jobs:
|
||||
leave_comment:
|
||||
if: ${{ github.repository == 'getmoto/moto' && github.event.label.name == 'payment-approved' }}
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
steps:
|
||||
- uses: actions/github-script@v5
|
||||
with:
|
||||
script: |
|
||||
github.rest.issues.createComment({
|
||||
issue_number: context.issue.number,
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
body: `Hi @${{ github.event.pull_request.user.login }},
|
||||
|
||||
Thank you for contributing to Moto!
|
||||
|
||||
To show our thanks, we'd like to share some of the donations that we've received with you. PR's like this are the big reason that Moto is as successful as it is - so it's only fair that you, as a contributor, gets to share the spoils.
|
||||
|
||||
We've created a companion website with more information:
|
||||
https://payments.getmoto.org/
|
||||
|
||||
This website is still in beta, but everything should work. Feel free to open a bug or discussion if you run into any problems:
|
||||
https://github.com/getmoto/payments`
|
||||
})
|
Loading…
Reference in New Issue
Block a user