Cancel previous workflow runs on new workflow.
@@ -11,6 +11,11 @@ jobs:
runs-on: ubuntu-latest
steps:
+ - name: Cancel Previous Runs
+ uses: styfle/cancel-workflow-action@0.9.1
+ with:
+ access_token: ${{ github.token }}
+
- name: Checkout repository
uses: actions/checkout@v2
