From 3718963fc450c2a90dfe9355f405756317ba092f Mon Sep 17 00:00:00 2001 From: Bert Blommers Date: Wed, 24 May 2023 21:30:54 +0000 Subject: [PATCH] Create payment_notification.yml --- .github/workflows/payment_notification.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/payment_notification.yml diff --git a/.github/workflows/payment_notification.yml b/.github/workflows/payment_notification.yml new file mode 100644 index 000000000..b892611fa --- /dev/null +++ b/.github/workflows/payment_notification.yml @@ -0,0 +1,20 @@ +# When the appropriate label is applied, notify user that payment is waiting +# +name: "Payment Notification" + +on: + pull_request: + types: [ labeled ] + +jobs: + test: + if: ${{ github.repository == 'getmoto/moto' && github.event.label.name == 'payment-approved' }} + runs-on: ubuntu-latest + + steps: + - name: Leave comment + uses: peter-evans/create-or-update-comment@v3 + with: + issue-number: ${{ context.issue.number }} + body: | + Test message