diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index 7496512..e1d3613 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -38,10 +38,10 @@ jobs: git config --local user.name "github-actions" git config --local user.email "github-actions@github.com" git add . - git diff --cached --exit-code || echo "changed" >> $GITHUB_ENV + git diff --cached --exit-code || echo "changed=true" >> $GITHUB_OUTPUT - name: Create Pull Request - if: env.changed == 'changed' + if: steps.check_changes.outputs.changed == 'true' run: | git commit -m "Update dependency versions" git push origin HEAD:update-dependency-versions