Skip to content

Commit 1edb38b

Browse files
committed
CI: Trigger build-kayobe-image for check-tags job
1 parent 9241b3a commit 1edb38b

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/path-filters.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file is a list of path filters for the PR workflow in .github/workflows/stackhpc-pull-request.yml.
2-
aio:
2+
aio: &aio
33
- '.automation'
44
- '.automation.conf/config.sh'
55
- '.automation.conf/tempest/load-lists/default'
@@ -20,8 +20,11 @@ aio:
2020
- 'kayobe-env'
2121
- 'requirements.txt'
2222
- 'terraform/aio/**'
23-
check-tags:
23+
check-tags: &check-tags
2424
- '.github/workflows/stackhpc-check-tags.yml'
2525
- 'etc/kayobe/kolla-image-tags.yml'
2626
- 'etc/kayobe/pulp.yml'
2727
- 'tools/kolla-images.py'
28+
build-kayobe-image:
29+
- *aio
30+
- *check-tags

.github/workflows/stackhpc-pull-request.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
if: github.repository == 'stackhpc/stackhpc-kayobe-config'
2121
outputs:
2222
aio: ${{ steps.changes.outputs.aio }}
23+
build-kayobe-image: ${{ steps.changes.outputs.build-kayobe-image }}
2324
check-tags: ${{ steps.changes.outputs.check-tags }}
2425
steps:
2526
- name: GitHub Checkout
@@ -74,7 +75,7 @@ jobs:
7475
- check-changes
7576
uses: ./.github/workflows/stackhpc-build-kayobe-image.yml
7677
with:
77-
if: ${{ needs.check-changes.outputs.aio == 'true' }}
78+
if: ${{ needs.check-changes.outputs.build-kayobe-image == 'true' }}
7879
if: github.repository == 'stackhpc/stackhpc-kayobe-config'
7980

8081
check-tags:

0 commit comments

Comments
 (0)