From 42ae9e355359c5ea43b0c3649d60a93681512664 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 3 Nov 2020 19:11:17 -0500 Subject: [PATCH] chore: Add title to Merge Notification CI job Also switch to repository filtering like other jobs --- .github/workflows/merged-notification.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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