Skip to content

Commit

Permalink
fix: check changes before pr
Browse files Browse the repository at this point in the history
  • Loading branch information
nullptr authored Nov 18, 2024
1 parent fc25a25 commit db5539d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/fetch_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ jobs:
git commit -m "bot: fetch update components" || echo "No changes to commit"
- name: Push changes and create PR
if: steps.check-for-changes.outputs.changes == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git push --set-upstream origin update-branch
git push --set-upstream origin update-branch -f
gh pr create --title "bot: fetch update components" --body "This PR was created automatically by GitHub Actions." --base main --head update-branch

0 comments on commit db5539d

Please sign in to comment.