diff --git a/.github/workflows/Basic.yml b/.github/workflows/Basic.yml index cf672799..ce073e96 100644 --- a/.github/workflows/Basic.yml +++ b/.github/workflows/Basic.yml @@ -7,6 +7,11 @@ jobs: name: Test Suite runs-on: ubuntu-latest steps: + - name: Cancel Previous Runs + uses: styfle/cancel-workflow-action@0.9.1 + with: + all_but_latest: true + - name: Checkout sources uses: actions/checkout@v2 diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 204c9121..d329283e 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -2,6 +2,10 @@ name: build artifacts wasm on: [push] +permissions: + actions: write + content: write + jobs: release: @@ -9,8 +13,6 @@ jobs: steps: - name: Cancel Previous Runs uses: styfle/cancel-workflow-action@0.9.1 - permissions: - actions: write with: all_but_latest: true - name: Checkout sources