File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -27,17 +27,15 @@ jobs:
27
27
python-version : ' ${{ vars.PYTHON_VERSION }}'
28
28
- name : Generate Release Notes
29
29
id : generate_release_notes
30
- run : |
31
- python -m scripts.release.release_notes -s $INITIAL_COMMIT_SHA -v $INITIAL_VERSION -o release_notes_tmp.md
30
+ run : python -m scripts.release.release_notes -s $INITIAL_COMMIT_SHA -v $INITIAL_VERSION -o release_notes_tmp.md
32
31
env :
33
32
INITIAL_COMMIT_SHA : ${{ vars.RELEASE_INITIAL_COMMIT_SHA }}
34
33
INITIAL_VERSION : ${{ vars.RELEASE_INITIAL_VERSION }}
35
34
- name : Summarize results
36
35
run : cat release_notes_tmp.md >> $GITHUB_STEP_SUMMARY
37
36
- name : Update PR comment
38
37
if : github.event_name == 'pull_request'
39
- run : |
40
- gh issue comment $ISSUE --edit-last --create-if-none --body-file release_notes_tmp.md
38
+ run : gh issue comment $ISSUE --edit-last --create-if-none --body-file release_notes_tmp.md
41
39
env :
42
40
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
43
41
ISSUE : ${{ github.event.pull_request.html_url }}
Original file line number Diff line number Diff line change 28
28
python-version : ' ${{ vars.PYTHON_VERSION }}'
29
29
- name : Check if changelog entry file was added in this PR
30
30
run : |
31
+ set -o pipefail
31
32
python -m scripts.release.check_changelog -b $BASE_SHA -f $FAIL_ON_NO_CHANGES | tee >> $GITHUB_STEP_SUMMARY
32
33
env :
33
34
BASE_SHA : ${{ github.event.pull_request.base.sha }}
You can’t perform that action at this time.
0 commit comments