Skip to content

Commit afade98

Browse files
zdtswharshad16
andcommitted
Fix: only enable tag-release-quay workflow for upstream opendatahub-io
- currently any forked repo will be triggered by new tag and failure Co-authored-by: Harshad Reddy Nalla <[email protected]> Signed-off-by: Wen Zhou <[email protected]>
1 parent 4d235ee commit afade98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/tag-release-quay.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Image push per Github Tag
22

3-
# This GitHub action activates whenever a new tag is created on the repo
3+
# This GitHub action activates whenever a new tag is created on the repo under "opendatahub-io"
44
# and creates a copy of the image of the associated commit hash with the
55
# appropriate tag name.
66

@@ -14,6 +14,7 @@ env:
1414
jobs:
1515
copy-tag-to-quay:
1616
runs-on: ubuntu-latest
17+
if: github.repository == 'opendatahub-io/data-science-pipelines-operator'
1718
steps:
1819
- name: Git checkout
1920
uses: actions/checkout@v3

0 commit comments

Comments
 (0)