Skip to content

Commit

Permalink
Merge branch 'next' into dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen authored Nov 16, 2020
2 parents 6cb18d4 + 870aee0 commit fbc4c23
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/action-run.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "self test development-like"
on:
pull_request:
pull_request_target:
pull_request_review:
push:
branches:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/chromatic-action-test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "Chromatic via action-test"
on: [push, pull_request, pull_request_review]
on: [push, pull_request, pull_request_target, pull_request_review]

jobs:
chromatic:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/chromatic-action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "Chromatic via action"
on: [push, pull_request, pull_request_review]
on: [push, pull_request, pull_request_review, pull_request_target]

jobs:
chromatic:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/chromatic-staging-action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "[Staging] Chromatic via action"
on: [push, pull_request, pull_request_review]
on: [push, pull_request, pull_request_target, pull_request_review]

jobs:
chromatic:
Expand Down
3 changes: 2 additions & 1 deletion action/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ const maybe = (a: string, b: any = undefined) => {

const getCommit = (event: typeof context) => {
switch (event.eventName) {
case 'pull_request':
case 'pull_request_review':
case 'pull_request': {
case 'pull_request_target': {
return {
// @ts-ignore
owner: event.payload.repository.owner.login,
Expand Down

0 comments on commit fbc4c23

Please sign in to comment.