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

dongjoon pushed a commit to branch branch-1.5
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/branch-1.5 by this push:
     new 5c6adfb  ORC-704: Publish snapshots at only apache repo (#587)
5c6adfb is described below

commit 5c6adfbd537964556240c54ed7edcddb6efcd3ad
Author: William Hyun <[email protected]>
AuthorDate: Wed Dec 23 11:39:33 2020 -0800

    ORC-704: Publish snapshots at only apache repo (#587)
    
    ### What changes were proposed in this pull request?
    
    This PR aims to only publish snapshots at apache orc repo by adding an if 
statement.
    
    ### Why are the changes needed?
    
    To save the resources at the downstream.
    
    ### How was this patch tested?
    
    N/A
    
    (cherry picked from commit 7ba6481505bdfac0383663a8555f8c31f240b487)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 .github/workflows/publish_snapshot.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/publish_snapshot.yml 
b/.github/workflows/publish_snapshot.yml
index 43dcd8e..ddfe886 100644
--- a/.github/workflows/publish_snapshot.yml
+++ b/.github/workflows/publish_snapshot.yml
@@ -7,6 +7,7 @@ on:
 
 jobs:
   publish-snapshot:
+    if: github.repository == 'apache/orc'
     runs-on: ubuntu-latest
     steps:
     - uses: actions/checkout@master

Reply via email to