diff --git a/.github/workflows/merged-notification.yml b/.github/workflows/merged-notification.yml index f03948a4622a..206d843a8788 100644 --- a/.github/workflows/merged-notification.yml +++ b/.github/workflows/merged-notification.yml @@ -1,10 +1,11 @@ +name: Merged notification on: pull_request_target: types: ['closed'] jobs: comment: - if: github.event.repository.private == false && github.event.pull_request.merged && github.event.pull_request.base.ref == github.event.repository.default_branch + if: github.repository == 'github/docs' && github.event.pull_request.merged && github.event.pull_request.base.ref == github.event.repository.default_branch runs-on: ubuntu-latest steps: - uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9