diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml index 980b024dd1c..4f20855b842 100644 --- a/.github/workflows/bot.yml +++ b/.github/workflows/bot.yml @@ -73,12 +73,11 @@ jobs: working-directory: scripts/bot run: | npx ts-node src/cargo/bump.ts - echo "::set-output name=STATUS::$?" env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - name: Cancel if there's no change - if: steps.bump.outputs.STATUS != '0' + if: steps.bump.outcome != 'success' || steps.bump.conclusion != 'success' uses: andymckay/cancel-action@0.2 - name: Update changelog