Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ env:
DOTNET_CLI_TELEMETRY_OPTOUT: "1"
DOTNET_NOLOGO: "1"

# A new push to a pull request cancels its older runs. A push to main waits
# for the run before it, and only the newest waiting run starts.
concurrency:
group: ci-${{ github.workflow }}-${{ (github.event_name == 'pull_request' || github.event_name == 'push') && github.ref || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
build:
name: Build and pack the NuGet package
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/malware-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ on:
permissions:
contents: read

# A new push to a pull request cancels its older runs. A push to main waits
# for the run before it, and only the newest waiting run starts.
concurrency:
group: malware-scan-${{ github.workflow }}-${{ (github.event_name == 'pull_request' || github.event_name == 'push') && github.ref || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
# The package both engines scan: the caller's when Publish passes one,
# otherwise built here exactly as CI and Publish build it.
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ on:
permissions:
contents: read

# A new push to a pull request cancels its older runs. A push to main waits
# for the run before it, and only the newest waiting run starts.
concurrency:
group: security-${{ github.workflow }}-${{ (github.event_name == 'pull_request' || github.event_name == 'push') && github.ref || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
codeql:
name: CodeQL (${{ matrix.language }})
Expand Down