Sindbad~EG File Manager

Current Path : /letsencrypt/.github/workflows/
Upload File :
Current File : //letsencrypt/.github/workflows/merged.yaml

name: Merge Event

on:
  pull_request:
    types:
      - closed

jobs:
  if_merged:
    # Forked repos can not access Mattermost secret.
    if: github.event.pull_request.merged == true && !github.event.pull_request.head.repo.fork
    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 }}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists