Skip to content

Commit 00c27ab

Browse files
committed
Remove dependency-review from prod deploy and fixed it in deploy
1 parent 8545eac commit 00c27ab

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/deploy.production.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,7 @@ permissions:
1717
contents: read # Required to read the repository contents
1818
packages: write # Required to publish packages
1919

20-
jobs:
21-
dependency-review:
22-
runs-on: ubuntu-latest
23-
steps:
24-
- name: Dependency Review
25-
uses: actions/dependency-review-action@da24556b548a50705dd671f47852072ea4c105d9 # v4.7.1
26-
20+
jobs:
2721
build-and-publish-workers:
2822
runs-on: ubuntu-latest
2923
steps:

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches:
66
- master
7+
pull_request:
8+
merge_group:
79
workflow_dispatch:
810

911
env:
@@ -21,6 +23,7 @@ permissions:
2123

2224
jobs:
2325
dependency-review:
26+
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target' || github.event_name == 'merge_group'
2427
runs-on: ubuntu-latest
2528
steps:
2629
- name: Dependency Review

0 commit comments

Comments
 (0)