Skip to content

Commit 388c55f

Browse files
committed
ci(ct): re-enable conditional workflows in upstream repository
Removed temporary testing condition for `gdcc/wip-base-image` and reinstated the `if` condition to restrict workflow runs to the upstream `IQSS` repository.
1 parent 095b70e commit 388c55f

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

.github/workflows/container_maintenance.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ jobs:
5858
contents: read
5959
packages: read
6060
# Only run in upstream repo - avoid unnecessary runs in forks
61-
# TODO: re-enable once we are done testing in gdcc/wip-base-image project
62-
# if: ${{ github.repository_owner == 'IQSS' }}
61+
if: ${{ github.repository_owner == 'IQSS' }}
6362
needs:
6463
- discover
6564
outputs:
@@ -109,10 +108,8 @@ jobs:
109108
- discover
110109
- base-image
111110
# Only run in upstream repo - avoid unnecessary runs in forks.
112-
# TODO: If we add a push trigger later, we might want to prepend "always() &&" to ignore the status of the base job.
113-
# Needs further investigation.
114-
# TODO: re-enable once we are done testing in gdcc/wip-base-image project
115-
# if: ${{ github.repository_owner == 'IQSS' }}
111+
# TODO: If we add a push trigger later, we might want to prepend "always() &&" to ignore the status of the base job. Needs further investigation.
112+
if: ${{ github.repository_owner == 'IQSS' }}
116113
outputs:
117114
supported_tag_matrix: ${{ steps.execute.outputs.supported_tag_matrix }}
118115
rebuilt_images: ${{ steps.execute.outputs.rebuilt_images }}
@@ -153,10 +150,8 @@ jobs:
153150
needs:
154151
- discover
155152
# Only run in upstream repo - avoid unnecessary runs in forks.
156-
# TODO: If we add a push trigger later, we might want to prepend "always() &&" to ignore the status of the base job.
157-
# Needs further investigation.
158-
# TODO: re-enable once we are done testing in gdcc/wip-base-image project
159-
# if: ${{ github.repository_owner == 'IQSS' }}
153+
# TODO: If we add a push trigger later, we might want to prepend "always() &&" to ignore the status of the base job. Needs further investigation.
154+
if: ${{ github.repository_owner == 'IQSS' }}
160155
outputs:
161156
supported_tag_matrix: ${{ steps.execute.outputs.supported_tag_matrix }}
162157
rebuilt_images: ${{ steps.execute.outputs.rebuilt_images }}

0 commit comments

Comments
 (0)