Skip to content

Commit

Permalink
chore: Add title to Merge Notification CI job
Browse files Browse the repository at this point in the history
Also switch to repository filtering like other jobs
  • Loading branch information
nschonni committed Nov 5, 2020
1 parent 969eac1 commit 42ae9e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/merged-notification.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 42ae9e3

Please sign in to comment.