From 26a57a71ae82a2b7447050bfaed06ef8ad25ba0e Mon Sep 17 00:00:00 2001 From: zomars Date: Mon, 13 Feb 2023 14:46:04 -0700 Subject: [PATCH] Update nextjs-bundle-analysis.yml --- .github/workflows/nextjs-bundle-analysis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nextjs-bundle-analysis.yml b/.github/workflows/nextjs-bundle-analysis.yml index 1220911b16..c8607d432b 100644 --- a/.github/workflows/nextjs-bundle-analysis.yml +++ b/.github/workflows/nextjs-bundle-analysis.yml @@ -4,9 +4,13 @@ on: pull_request: push: branches: - - main # change this if your default branch is named differently + - main workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + defaults: run: # change this if your nextjs app does not live at the root of the repo