This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git


The following commit(s) were added to refs/heads/master by this push:
     new 612267830 Run Dependency Review on the default branch
612267830 is described below

commit 6122678307c83f3c1aedc4536a376e2a66f4943f
Author: Gary Gregory <garydgreg...@users.noreply.github.com>
AuthorDate: Mon Sep 23 09:08:25 2024 -0400

    Run Dependency Review on the default branch
---
 .github/workflows/dependency-review.yml | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/dependency-review.yml 
b/.github/workflows/dependency-review.yml
index 45730f25b..06ecec3dd 100644
--- a/.github/workflows/dependency-review.yml
+++ b/.github/workflows/dependency-review.yml
@@ -16,10 +16,7 @@
 # under the License.
 
 name: 'Dependency Review'
-on:
-  pull_request:
-    branches:
-      - master
+on: [push, pull_request]
 
 permissions:
   contents: read
@@ -30,5 +27,11 @@ jobs:
     steps:
       - name: 'Checkout Repository'
         uses: actions/checkout@v4
+      - name: 'Dependency Review PR'
+        uses: actions/dependency-review-action@v4.3.4
       - name: 'Dependency Review'
         uses: actions/dependency-review-action@v4.3.4
+        if: github.event_name == 'master'
+        with:
+          base-ref: ${{ github.event.repository.default_branch }}
+          head-ref: ${{ github.event.repository.default_branch }}

Reply via email to