diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b2d9a9c8..99311576 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -65,14 +65,14 @@ jobs: message: "Update screenshots/help for ${{ github.sha }}" push: ${{ github.ref == 'refs/heads/main' }} - uses: actions/setup-node@v3 - if: ${{ steps.commit.outputs.committed == 'true' }} # only required for commit comment below + if: ${{ steps.commit.outputs.pushed == 'true' }} # only required for commit comment below with: node-version: 16 - run: | npm install -g nodegit@v0.28.0-alpha.18 # https://github.com/nodegit/nodegit/issues/1840 npm link nodegit - if: ${{ steps.commit.outputs.committed == 'true' }} # only required for commit comment below - - if: ${{ steps.commit.outputs.committed == 'true' }} # no changes -> no commit -> no comment + if: ${{ steps.commit.outputs.pushed == 'true' }} # only required for commit comment below + - if: ${{ steps.commit.outputs.pushed == 'true' }} # no changes -> no commit -> no comment name: Create commit comment for screenshot/help diff uses: actions/github-script@v6 with: