Skip to content

Commit 82cfa4b

Browse files
committed
Don't run when pull request is not merged yet
1 parent 4db348b commit 82cfa4b

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/deploy-storybook.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ on:
44
push:
55
branches:
66
- deploy-storybook
7-
pull_request:
7+
pull_request_target:
88
branches:
99
- deploy-storybook
10+
types:
11+
- closed
1012

1113
jobs:
1214
deploy-storybook:

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ on:
44
push:
55
branches:
66
- release
7-
pull_request:
7+
pull_request_target:
88
branches:
99
- release
10+
types:
11+
- closed
1012

1113
jobs:
1214
release:

0 commit comments

Comments
 (0)