From 9eed1b014ea92913c349b873a4f2768311017c0a Mon Sep 17 00:00:00 2001 From: Mohamed Meabed Date: Wed, 12 Feb 2025 12:29:39 -0500 Subject: [PATCH] chore: update pkgs --- .github/workflows/ci.yml | 8 ++++---- .github/workflows/release.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b6834c4..a75c464 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,10 @@ on: - '**' - '!master' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -31,10 +35,6 @@ jobs: steps: - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." - - uses: styfle/cancel-workflow-action@0.12.1 - with: - workflow_id: ci.yml - access_token: ${{ github.token }} - uses: actions/checkout@v4 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4e89431..c380e01 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,10 @@ on: branches: - 'master' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -25,10 +29,6 @@ jobs: steps: - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." - - uses: styfle/cancel-workflow-action@0.12.1 - with: - workflow_id: release.yml - access_token: ${{ github.token }} - uses: actions/checkout@v4 with: