diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 58021c3..237cf39 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,13 @@ on: pull_request: branches: [JP] +concurrency: + group: ci-${{ github.event.pull_request.number || github.sha }} + cancel-in-progress: true + +permissions: + contents: read + jobs: build-and-test: name: Build & Test @@ -15,7 +22,7 @@ jobs: - uses: actions/setup-dotnet@v4 with: - dotnet-version: "8.x" + dotnet-version: "10.0.x" - name: Restore run: dotnet restore Svrnty.CQRS.sln diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 7902bae..55aded1 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -8,6 +8,13 @@ on: schedule: - cron: "0 6 * * 1" # Weekly on Monday at 06:00 UTC +concurrency: + group: security-${{ github.event.pull_request.number || github.sha }} + cancel-in-progress: true + +permissions: + contents: read + jobs: vulnerability-scan: name: .NET vulnerability scan