Skip to content

Commit

Permalink
- Fix missing git push
Browse files Browse the repository at this point in the history
  • Loading branch information
Ismoh committed Feb 11, 2024
1 parent a284c7e commit 02d8663
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 @@ -139,14 +139,14 @@ jobs:
git add ${{ github.workspace }}\mods\noita-mp\lua_modules\lib\lua\5.1\noitapatcher.version
git add -f $noitaptacherPath
git add "${{ github.workspace }}\.debug\lua-definitions\noitapatcher.lua"
git commit -m "Updated NoitaPatcher dependencies" -a || echo "No changes to commit"; Exit 0
git commit -m "Updated NoitaPatcher dependencies" -a || echo "No changes to commit"
git push origin dependency-updates || echo "There are no changes!"; Exit 0
- name: Push changes and create a pull request
env:
GH_TOKEN: ${{ github.token }}
run: |
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 02d8663

Please sign in to comment.