Skip to content
Compare
Choose a tag to compare
@styfle styfle released this 08 Jun 00:24

Minor Changes

Add support for self cancellation: #17

You no longer need to specify workflow_id if you want a workflow to cancel itself on subsequent pushes.

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - name: Cancel Previous Runs
        uses: styfle/cancel-workflow-action@0.4.0
        with:
          access_token: ${{ github.token }}
      #- name: Run Tests
      #  uses: actions/setup-node@v1
      #  run: node test.js
      # ... etc