File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,6 +138,21 @@ jobs:
138138 if : failure()
139139 run : kubectl logs -n mirrord deployment/mirrord-license-server
140140
141+ towncrier_check :
142+ runs-on : ubuntu-24.04
143+ steps :
144+ - uses : actions/checkout@v4
145+ with :
146+ fetch-depth : 0
147+ - name : Install uv
148+ uses : astral-sh/setup-uv@v2
149+ - run : uv python install
150+ - run : uv venv
151+ - name : install towncrier
152+ run : uv pip install towncrier==23.11.0
153+ - name : verify newsfragment exist
154+ run : uv run towncrier check
155+
141156 ci-success :
142157 runs-on : ubuntu-latest
143158 name : ci-success
@@ -149,6 +164,7 @@ jobs:
149164 operator-install,
150165 operator-install-and-use,
151166 operator-install-with-license-server-and-use,
167+ towncrier_check,
152168 ]
153169 steps :
154170 - name : CI succeeded
@@ -157,5 +173,6 @@ jobs:
157173 env :
158174 CI_SUCCESS : ${{ (needs.sanity.result == 'success') &&
159175 (needs.operator-install.result == 'success') &&
160- (needs.operator-install-and-use.result == 'success') }}
176+ (needs.operator-install-and-use.result == 'success') &&
177+ (needs.towncrier_check.result == 'success') }}
161178 run : echo $CI_SUCCESS && if [ "$CI_SUCCESS" == "true" ]; then echo "SUCCESS" && exit 0; else echo "FAILURE" && exit 1; fi
You can’t perform that action at this time.
0 commit comments