mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 06:05:02 +03:00
chore(ci): Fix the condition for cancel action
This commit is contained in:
parent
6173bb88fd
commit
d66f701a4a
3
.github/workflows/bot.yml
vendored
3
.github/workflows/bot.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user