Skip to content

Commit d376a76

Browse files
authored
Update update-package-json.yml
1 parent eb6974e commit d376a76

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/update-package-json.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,15 @@ jobs:
1919
uses: actions/checkout@v4
2020

2121
- name: Set up Python
22-
uses: actions/setup-python@v4
22+
uses: actions/setup-python@v5
2323
with:
2424
python-version: '3.11'
2525

2626
- name: Validate and update package.json
2727
id: validate
2828
run: |
29-
python .github/scripts/validate-package-json.py || true
30-
EXIT_CODE=$?
29+
python .github/scripts/validate-package-json.py; EXIT_CODE=$?
3130
echo "changes_made=$EXIT_CODE" >> $GITHUB_OUTPUT
32-
exit 0
3331
3432
- name: Commit and push changes
3533
if: steps.validate.outputs.changes_made == '1'

0 commit comments

Comments
 (0)