diff --git a/.github/workflows/hf_pr-peak-deployment-notification.yml b/.github/workflows/hf_pr-peak-deployment-notification.yml new file mode 100644 index 0000000..485c1a6 --- /dev/null +++ b/.github/workflows/hf_pr-peak-deployment-notification.yml @@ -0,0 +1,20 @@ +# This workflow is centrally managed and generated from +# https://github.com/hellofresh/github-automation/blob/master/modules/repository/shared-workflows/pr-peak-deployment-notification.yml +--- +name: "PR: Peak Deployment Notification" + +on: + pull_request: + types: + - closed + branches: + - master + +jobs: + send-notification: + if: github.event.pull_request.merged == true + uses: hellofresh/workflow-peak-deployment-notification/.github/workflows/reusable.yml@master + with: + pr_number: ${{ github.event.pull_request.number }} + pr_title: ${{ github.event.pull_request.title }} + pr_branch: ${{ github.event.pull_request.head.ref }}