certbot/.github/workflows/merged.yaml
Alexis 792a3a75a4
Change parameter scope in workflows
Signed-off-by: Alexis <lxshancock@gmail.com>
2025-10-15 14:11:14 +09:00

20 lines
586 B
YAML

name: Merge Event
on:
pull_request:
types:
- closed
jobs:
if_merged:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: mattermost/action-mattermost-notify@master
with:
MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_MERGE_WEBHOOK }}
TEXT: >
[${{ github.repository }}] |
[${{ github.event.pull_request.title }}
#${{ github.event.number }}](https://github.com/${{ github.repository }}/pull/${{ github.event.number }})
was merged into main by ${{ github.actor }}