Skip to content

Commit 1d96a7d

Browse files
committed
Add hooks
1 parent 57e3aec commit 1d96a7d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/quarkus-ecosystem-ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,21 @@ jobs:
6666
repository: ${{ env.ECOSYSTEM_CI_REPO }}
6767
path: ecosystem-ci
6868

69+
- name: Invoke Pre Ecosystem Hook (if exists)
70+
if: ${{ hashFiles('./current-repo/.github/workflows/hooks/pre-quarkus-ecosystem-ci.sh') != '' }}
71+
run: ./current-repo/.github/workflows/hooks/pre-quarkus-ecosystem-ci.sh
72+
env:
73+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
74+
6975
- name: Setup and Run Tests
7076
run: ./ecosystem-ci/setup-and-test
7177
env:
7278
ECOSYSTEM_CI_TOKEN: ${{ secrets.ECOSYSTEM_CI_TOKEN }}
7379
QUARKUS_VERSION_POM_PATH: ${{ env.QUARKUS_VERSION_POM_PATH }}
7480
QUARKUS_VERSION_POM_PROPERTY: ${{ env.QUARKUS_VERSION_POM_PROPERTY }}
81+
82+
- name: Invoke Post Ecosystem Hook (if exists)
83+
if: ${{ hashFiles('./current-repo/.github/workflows/hooks/post-quarkus-ecosystem-ci.sh') != '' }}
84+
run: ./current-repo/.github/workflows/hooks/post-quarkus-ecosystem-ci.sh
85+
env:
86+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)