Skip to content

fix workflows

fix workflows #1

name: 'Dependency review'
on:
push:
branches:
- "main"
- "**/dev/**"
- "release/**"
permissions:
contents: read
# Write permissions for pull-requests are required for using the `comment-summary-in-pr` option, comment out if you aren't using this option
# pull-requests: write
env:
HEAD_REF: ${{ github.event.ref }}
BASE_REF: ${{ (github.event.base_ref != null) && github.event.base_ref || github.event.ref }}
jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: 'Checkout repository'
uses: actions/checkout@v4
- name: 'Dependency Review'
uses: actions/dependency-review-action@v4
with:
comment-summary-in-pr: always
fail-on-severity: low
deny-licenses: GPL-1.0-or-later, LGPL-2.0-or-later
base-ref: ${{ env.BASE_REF }}
head-ref: ${{ env.HEAD_REF }}