diff --git a/.github/workflows/security.yaml b/.github/workflows/security.yaml index 4ba6d36c5..1b683e03d 100644 --- a/.github/workflows/security.yaml +++ b/.github/workflows/security.yaml @@ -12,9 +12,8 @@ on: # Runs every Monday morning PST - cron: "17 15 * * 1" -# Cancel in-progress runs for pull requests when developers push -# additional changes, and serialize builds in branches. -# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-concurrency-to-cancel-any-in-progress-job-or-run +# Cancel in-progress runs for pull requests when developers push additional +# changes, and serialize builds in branches. concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: ${{ github.event_name == 'pull_request' }}