diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 824c3da..bccf1b0 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -32,4 +32,5 @@ jobs: # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive - name: Update dependency graph + if: github.event_name == 'push' uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6 diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index e8f8329..0aed87a 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -3,8 +3,6 @@ on: push: branches: - main - pull_request: - types: [opened, synchronize, reopened] permissions: pull-requests: read jobs: