This is an automated email from the ASF dual-hosted git repository.
rzo1 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opennlp.git
The following commit(s) were added to refs/heads/main by this push:
new 9b085604 OPENNLP-1445 - Run GH action "Publish snapshots" only on ASF
repo
9b085604 is described below
commit 9b085604365da3f7778ee5faf2623a30852f8ef2
Author: Richard Zowalla <[email protected]>
AuthorDate: Tue Jan 17 20:15:55 2023 +0100
OPENNLP-1445 - Run GH action "Publish snapshots" only on ASF repo
---
.github/workflows/publish-snapshots.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.github/workflows/publish-snapshots.yml
b/.github/workflows/publish-snapshots.yml
index 0e648b16..41ca0125 100644
--- a/.github/workflows/publish-snapshots.yml
+++ b/.github/workflows/publish-snapshots.yml
@@ -26,6 +26,7 @@ on:
jobs:
publish:
name: Publish snapshot artifacts
+ if: github.repository == 'apache/opennlp'
runs-on: ubuntu-latest
steps:
- name: Checkout