Skip to content

Commit 62b5e0d

Browse files
committed
workflow updated
1 parent c180671 commit 62b5e0d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/daily-contest-script.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,16 @@ jobs:
1616
- name: Set up Python
1717
uses: actions/setup-python@v2
1818
with:
19-
python-version: '3.10'
19+
python-version: '3.10'
2020

2121
- name: Install dependencies
2222
run: pip install -r scripts/requirements.txt
2323

24+
- name: Create new branch
25+
run: |
26+
git checkout -b automate-json-update
27+
git push -u origin automate-json-update
28+
2429
- name: Run contest.py script
2530
run: python scripts/contest.py
2631

@@ -42,4 +47,3 @@ jobs:
4247
base: main
4348
body: |
4449
This pull request updates the JSON file automatically.
45-

0 commit comments

Comments
 (0)