Skip to content

Update sonarqube.yml #2

Update sonarqube.yml

Update sonarqube.yml #2

name: 'Dependency review'
on:
push:
branches:
- main
pull_request:
branches: [ "main" ]
permissions:
contents: read
pull-requests: write
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:
base-ref: 'main'
head-ref: '${{ github.ref_name }}' # Usar la rama actual en el evento push
comment-summary-in-pr: always