meta: make Dependency Review not fail

Dependency Review action can be only run on pull requests, as it requires base_ref/head_ref configuration options, which are only available on `pull_request` and `pull_request_target` triggers. More info: https://docs.github.com/en/actions/learn-github-actions/contexts

Signed-off-by: tfuxu <73042332+tfuxu@users.noreply.github.com>
This commit is contained in:
tfuxu 2023-01-23 16:33:22 +00:00 committed by GitHub
parent 9a4c6d4dea
commit 2a94a508b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,9 +10,6 @@ name: Dependency Review
on:
pull_request:
schedule:
- cron: '0 0,12 * * *'
workflow_dispatch:
permissions:
contents: read