Skip to content

Commit 1da772f

Browse files
authored
Merge pull request #1049 from nschonni/merge-notification-job-name
chore: Add title to Merge Notification CI job
2 parents 969eac1 + 42ae9e3 commit 1da772f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/merged-notification.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
name: Merged notification
12
on:
23
pull_request_target:
34
types: ['closed']
45

56
jobs:
67
comment:
7-
if: github.event.repository.private == false && github.event.pull_request.merged && github.event.pull_request.base.ref == github.event.repository.default_branch
8+
if: github.repository == 'github/docs' && github.event.pull_request.merged && github.event.pull_request.base.ref == github.event.repository.default_branch
89
runs-on: ubuntu-latest
910
steps:
1011
- uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9

0 commit comments

Comments
 (0)