You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by mg...@apache.org on 2022/06/09 21:00:12 UTC

[avro] 01/01: AVRO-3534: Rust: Use dependency-review-action only for pull_request events

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

mgrigorov pushed a commit to branch avro-3534-enable-dependency-review-action-only-for-prs
in repository https://gitbox.apache.org/repos/asf/avro.git

commit 8ec9e9e199d26e5368c8998975a26b203b5c2fea
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
AuthorDate: Thu Jun 9 23:59:45 2022 +0300

    AVRO-3534: Rust: Use dependency-review-action only for pull_request events
    
    Signed-off-by: Martin Tzvetanov Grigorov <mg...@apache.org>
---
 .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