Skip to content

bugfix: fix failing dependency review stage #22

bugfix: fix failing dependency review stage

bugfix: fix failing dependency review stage #22

name: 'Dependency Review'
on:
pull_request:
branches: [ "main" ]
push:
branches: [ "main" ]
permissions:
contents: read
jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: 'Dependency Review'
uses: actions/dependency-review-action@2031cfc080254a8a887f58cffee85186f0e49e48 #4.9.0
with:
# If it's a PR, use the target branch. If it's a push, use 'main'.
base-ref: ${{ github.event.pull_request.base.ref || 'main' }}
# If it's a PR, use the source branch. If it's a push, use the current commit.
head-ref: ${{ github.event.pull_request.head.ref || github.sha }}
fail-on-severity: high
show-patched-versions: true