Skip to content

Commit

Permalink
chore: update data-refresh.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
kuutsav authored Jun 9, 2024
1 parent d78459f commit fddada2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/data-refresh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
python leetcomp/parse.py
- name: Commit files
id: commit-files
run: |
git config --global user.name github-actions
git config --global user.email github-actions@github.com
Expand All @@ -50,10 +51,11 @@ jobs:
git push
else
echo "No changes to commit."
exit 1
echo "skipnext=true" >> $GITHUB_OUTPUT
fi
- name: Create Pull Request
if: (steps.commit-files.outputs.skipnext != 'true')
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.GH_TOKEN }}
Expand Down

0 comments on commit fddada2

Please sign in to comment.