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

jinrongtong pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git


The following commit(s) were added to refs/heads/develop by this push:
     new faf494bd79 Restrict the list version workflow to be executed only in 
the main repository (#9168)
faf494bd79 is described below

commit faf494bd7979bc6bd1ae6ae806ecfb1d2f9d4c21
Author: totalo <tot...@qq.com>
AuthorDate: Mon Feb 10 08:28:39 2025 +0800

    Restrict the list version workflow to be executed only in the main 
repository (#9168)
    
    * build: Restrict the Snapshot Daily Release Automation action to be 
triggered only in the official repository
    
    * Restrict the list version workflow to be executed only in the main 
repository
    
    * Restrict the list version workflow to be executed only in the main 
repository
---
 .github/workflows/snapshot-automation.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/snapshot-automation.yml 
b/.github/workflows/snapshot-automation.yml
index 2c4ede4b6e..9b297583b1 100644
--- a/.github/workflows/snapshot-automation.yml
+++ b/.github/workflows/snapshot-automation.yml
@@ -117,7 +117,9 @@ jobs:
           path: rocketmq-docker/image-build-ci/versionlist/*
 
   list-version:
-    if: always()
+    if: >
+      github.repository == 'apache/rocketmq' && 
+      always()
     name: List version
     needs: [ docker-build ]
     runs-on: ubuntu-latest

Reply via email to