notify about PRs from forks (#10101)

This commit is contained in:
Brad Warren
2025-01-15 17:19:25 -08:00
committed by GitHub
parent 96c4bcd9a8
commit 94dcf25f6e
+2 -3
View File
@@ -1,14 +1,13 @@
name: Merge Event
on:
pull_request:
pull_request_target:
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
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: mattermost/action-mattermost-notify@master