diff --git a/.github/workflows/pr_enforce_labels.yml b/.github/workflows/pr_enforce_labels.yml index bf2239f63..3b98dafcd 100644 --- a/.github/workflows/pr_enforce_labels.yml +++ b/.github/workflows/pr_enforce_labels.yml @@ -4,6 +4,10 @@ on: pull_request: types: [opened, edited, labeled, unlabeled, synchronize, reopened] +concurrency: + group: pr-labels-${{ github.event.pull_request.number || github.run_id }} + cancel-in-progress: true + permissions: pull-requests: read contents: read diff --git a/.github/workflows/sec_sast_semgrep_pull.yml b/.github/workflows/sec_sast_semgrep_pull.yml index 1508e0822..3783fae41 100644 --- a/.github/workflows/sec_sast_semgrep_pull.yml +++ b/.github/workflows/sec_sast_semgrep_pull.yml @@ -2,6 +2,10 @@ name: Semgrep Differential Scan on: pull_request +concurrency: + group: semgrep-diff-${{ github.event.pull_request.number || github.run_id }} + cancel-in-progress: true + permissions: read-all jobs: