File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
- name : Julep-Changelog-Generation
1
+ name : Julep Changelog Generation
2
+ run-name : ${{ github.actor }} is generating changelog for the last two weeks using Julep
2
3
3
4
on :
4
- workflow_dispatch : {}
5
+ workflow_dispatch :
5
6
6
7
jobs :
7
8
changelog_generation :
43
44
fi
44
45
45
46
echo "pr_data=$merged_prs" >> $GITHUB_ENV
46
- echo "{\"pr_data\": $merged_prs} " > pr_data.json
47
+ echo "$merged_prs" > pr_data.json
47
48
48
49
- name : Setup Python v3.10.12
49
50
uses : actions/setup-python@v5
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ def main(pr_data: str) -> None:
182
182
try :
183
183
# Read PR data from JSON file
184
184
with open ('pr_data.json' , 'r' ) as file :
185
- pr_data = json . load ( file )
185
+ pr_data = file . read ( )
186
186
main (pr_data )
187
187
except Exception as e :
188
188
logging .error (f"Script failed: { str (e )} " )
You can’t perform that action at this time.
0 commit comments