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

mgrigorov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/master by this push:
     new a8ee8778d AVRO-3534: Rust: Use dependency-review-action only for 
pull_request events (#1717)
a8ee8778d is described below

commit a8ee8778dfdccbc9bf5c8423d0d7dbdf1c2c0cbf
Author: Martin Grigorov <[email protected]>
AuthorDate: Fri Jun 10 00:04:09 2022 +0300

    AVRO-3534: Rust: Use dependency-review-action only for pull_request events 
(#1717)
    
    Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
---
 .github/workflows/test-lang-rust-audit.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/test-lang-rust-audit.yml 
b/.github/workflows/test-lang-rust-audit.yml
index 134e5f8be..491c4f2c0 100644
--- a/.github/workflows/test-lang-rust-audit.yml
+++ b/.github/workflows/test-lang-rust-audit.yml
@@ -48,6 +48,7 @@ jobs:
       #    token: ${{ secrets.GITHUB_TOKEN }}
       # Install it manually
       - name: Dependency Review
+        if: github.event_name == 'pull_request'
         uses: actions/dependency-review-action@v1
       - name: Install Cargo Audit
         run: cargo install cargo-audit

Reply via email to