Skip to content

Commit e7e34f6

Browse files
authored
ci: pass changed files through env in release-notes reST check (#11856)
1 parent 22117f9 commit e7e34f6

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/release_notes.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,12 @@ jobs:
6262
- name: Check reStructuredText code formatting
6363
if: steps.changed-files.outputs.any_changed == 'true' && !contains( github.event.pull_request.labels.*.name, 'ignore-for-release-notes')
6464
shell: python
65+
env:
66+
CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
6567
run: |
66-
files = "${{ steps.changed-files.outputs.all_changed_files }}".split()
68+
import os
69+
70+
files = os.environ["CHANGED_FILES"].split()
6771
errors = []
6872
6973
for filepath in files:

0 commit comments

Comments
 (0)