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 0f78e4045 Update dependency-review.yml
0f78e4045 is described below

commit 0f78e4045bcc8d53b574f8f0a50b562c0aeee0b3
Author: Gary Gregory <garydgreg...@users.noreply.github.com>
AuthorDate: Mon Sep 23 09:15:28 2024 -0400

    Update dependency-review.yml
---
 .github/workflows/dependency-review.yml | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/dependency-review.yml 
b/.github/workflows/dependency-review.yml
index 04979c222..ae11bd031 100644
--- a/.github/workflows/dependency-review.yml
+++ b/.github/workflows/dependency-review.yml
@@ -29,10 +29,6 @@ jobs:
         uses: actions/checkout@v4
       - name: 'Dependency Review PR'
         uses: actions/dependency-review-action@v4.3.4
-        if: github.event_name != 'master'
-      - 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 }}
+          base-ref: ${{ github.event.before }}
+          head-ref: ${{ github.sha }}

Reply via email to