Skip to content

Commit 28d9bae

Browse files
committed
fix: Dependabot deploy action
1 parent f610fcc commit 28d9bae

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/previews-cf-dependabot.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
# pull_request_target permits secrets access; does not check out merge commit by default
1111
pull_request_target:
1212
types: [labeled]
13+
branches: [dependabot/**]
1314

1415
env:
1516
PAGES_PROJECT_NAME: optimizer
@@ -23,9 +24,7 @@ jobs:
2324
deployments: write
2425
pull-requests: write
2526

26-
if: >
27-
github.actor == 'dependabot[bot]' &&
28-
contains(github.event.pull_request.labels.*.name, 'deploy dependabot pr')
27+
if: contains(github.event.pull_request.labels.*.name, 'deploy dependabot pr')
2928
timeout-minutes: 15
3029

3130
steps:

0 commit comments

Comments
 (0)