We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a4b59d commit 383a3c6Copy full SHA for 383a3c6
1 file changed
.github/workflows/ci.yml
@@ -12,6 +12,7 @@ env:
12
NUMBA_NUM_THREADS: 1
13
MPLBACKEND: Agg
14
PYTEST_ADDOPTS: --color=yes
15
+ GITHUB_PR_NUMBER: ${{ github.event.number }}
16
17
jobs:
18
tests:
@@ -152,3 +153,19 @@ jobs:
152
153
FOLDER: docs/_build/html
154
CLEAN: true
155
SINGLE_COMMIT: true
156
+
157
+ changelog:
158
+ runs-on: ubuntu-latest
159
+ steps:
160
+ - uses: actions/checkout@v3
161
+ with:
162
+ fetch-depth: 0
163
164
+ - name: Set environment
165
+ run: echo FRAGMENT_NAME="docs/changes/${GITHUB_PR_NUMBER}.*.rst" >> $GITHUB_ENV
166
167
+ - name: Check for news fragment
168
+ uses: andstor/file-existence-action@v2
169
170
+ files: ${{ env.FRAGMENT_NAME }}
171
+ fail: true
0 commit comments