Skip to content

Commit

Permalink
master Fixed push when there are no changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ismoh committed Jul 15, 2023
1 parent 048aa44 commit 489b739
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dependency-updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: |
git pull origin dependency-updates || echo "There are no changes!"; Exit 0
git push origin dependency-updates
git pull origin dependency-updates
git push origin dependency-updates || echo "There are no changes!"; Exit 0
$prTitleArray = gh pr list --head "dependency-updates" --json "title" | ConvertFrom-Json
if ($prTitleArray.Count -gt 0) {
Expand Down

0 comments on commit 489b739

Please sign in to comment.