diff --git a/.github/workflows/danger-js.yml b/.github/workflows/danger-js.yml index 40b6466fd0c9..f83519953b4b 100644 --- a/.github/workflows/danger-js.yml +++ b/.github/workflows/danger-js.yml @@ -1,6 +1,19 @@ on: pull_request: - types: [opened, synchronize, reopened, labeled, unlabeled, edited] + types: + - opened + - synchronize + - reopened + - labeled + - unlabeled + - edited + branches: + - main + - next + +concurrency: + group: ${{ github.workflow }}-${{ github.event.number }} + cancel-in-progress: true name: Danger JS jobs: