This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/master by this push:
new 7ba6481 ORC-704: Publish snapshots at only apache repo (#587)
7ba6481 is described below
commit 7ba6481505bdfac0383663a8555f8c31f240b487
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
---
.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 2d11b27..15f468a 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