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

alien11689 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/aries.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 1e5e9220d [MAINTENANCE] Exclude pmd workflow for dependabot and PRs 
from forks
1e5e9220d is described below

commit 1e5e9220d314d154771352b337902cfd5965cc6b
Author: Dominik Przybysz <[email protected]>
AuthorDate: Tue Apr 15 19:56:22 2025 +0200

    [MAINTENANCE] Exclude pmd workflow for dependabot and PRs from forks
---
 .github/workflows/pmd.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/pmd.yml b/.github/workflows/pmd.yml
index 41706a058..ba84d2426 100644
--- a/.github/workflows/pmd.yml
+++ b/.github/workflows/pmd.yml
@@ -33,6 +33,7 @@ jobs:
         os: [ ubuntu-latest ]
     name: PMD
     runs-on: ubuntu-latest
+    if: github.actor != 'dependabot[bot]' && (github.ref == 'refs/heads/trunk' 
|| github.event_name == 'pull_request' && 
github.event.pull_request.head.repo.full_name == github.repository) 
     steps:
     - name: Git Checkout
       uses: actions/checkout@v4

Reply via email to