Skip to content

Commit

Permalink
Add dependency review workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacome committed Sep 30, 2024
1 parent 47db744 commit 1356d2b
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Dependency Review
on:
pull_request:
branches:
- main
merge_group:
types:
- checks_requested

concurrency:
group: ${{ github.ref_name }}-deps-review
cancel-in-progress: true

permissions:
contents: read

jobs:
dependency-review:
name: Dependency Review
runs-on: ubuntu-22.04
permissions:
contents: read # for actions/checkout
pull-requests: write # for actions/dependency-review-action to post comments
if: ${{ github.event_name != 'merge_group' }}
steps:
- name: Checkout Repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Dependency Review
uses: actions/dependency-review-action@5a2ce3f5b92ee19cbb1541a4984c76d921601d7c # v4.3.4
with:
config-file: "nginxinc/k8s-common/dependency-review-config.yml@main"

0 comments on commit 1356d2b

Please sign in to comment.