Skip to content

Commit 4885cc3

Browse files
committed
fix: pass schedule_path to script
1 parent 533ecca commit 4885cc3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

action.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ runs:
5757
- name: Run Update script
5858
shell: bash
5959
run: |
60-
python ${{github.action_path}}/update.py "${{github.workspace}}/${{inputs.project_file_name}}"
61-
rm schedule.json
60+
python ${{github.action_path}}/update.py "${{github.workspace}}/${{inputs.project_file_name}}" "${{inputs.schedule_path}}"
61+
# let's cleanup after ourselves so it doesn't end up in the PR
62+
rm "${{inputs.schedule_path}}"
6263
6364
6465
- name: Create Pull Request

0 commit comments

Comments
 (0)