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/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ on:
- cron: '20 2 * * 2'
workflow_dispatch:

# Cancel superseded runs for the same ref to save runner minutes.
concurrency:
group: codeql-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
analyze:
name: Analyze (${{ matrix.language }})
Expand All @@ -29,6 +34,7 @@ jobs:
# - https://gh.io/using-larger-runners (GitHub.com only)
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: 120
permissions:
# required for all workflows
security-events: write
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ on:
pull_request:
branches: [ "main" ]

# Cancel superseded runs for the same PR to save runner minutes.
concurrency:
group: dependency-review-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

# If using a dependency submission action in this workflow this permission will need to be set to:
#
# permissions:
Expand All @@ -26,6 +31,7 @@ permissions:
jobs:
dependency-review:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: 'Checkout repository'
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/maven-central-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,16 @@ on:
required: true
type: string

# Serialize releases: never run two release jobs at once, and never cancel an
# in-progress release (cancelling mid-deploy could leave a partial publish).
concurrency:
group: maven-central-release
cancel-in-progress: false

jobs:
release:
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: write
# Needed to open the version-bump pull request instead of pushing to main.
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,16 @@ on:
types: [opened, synchronize, reopened]
workflow_dispatch:

# Cancel superseded runs for the same ref to save runner minutes.
concurrency:
group: maven-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:

runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
contents: read
pull-requests: write
Expand Down
Loading