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
4 changes: 4 additions & 0 deletions .github/workflows/auto_approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on: pull_request
permissions:
pull-requests: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name == 'pull_request' && 'pr' || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
dependabot:
runs-on: ubuntu-latest
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Code Quality
on:
pull_request:
branches: [ mainline, release, 'patch_*' ]
types: [opened, synchronize, reopened, ready_for_review]
push:
# Run on mainline pushes to populate the Actions cache that PRs restore from.
branches: [ mainline ]
Expand All @@ -15,10 +16,19 @@ on:
required: false
type: string

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name == 'pull_request' && 'pr' || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
Test:
name: Python
# Skip the heavy matrix on draft PRs. Gate on event_name too: a called
# workflow inherits the CALLER's github.event, so a future
# pull_request-triggered caller would otherwise skip this on draft PRs.
if: github.event_name != 'pull_request' || github.event.pull_request.draft != true
strategy:
fail-fast: true
matrix:
os: [windows-latest]
python-version: ['3.9', '3.10', '3.11']
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
schedule:
- cron: '0 8 * * MON'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name == 'pull_request' && 'pr' || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
Analysis:
name: Analysis
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/record_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
pull_request:
types: [opened, reopened]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name == 'pull_request' && 'pr' || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
call-record-workflow:
uses: aws-deadline/.github/.github/workflows/reusable_record_pr_details.yml@mainline
4 changes: 4 additions & 0 deletions .github/workflows/security_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
schedule:
- cron: '0 8 * * MON'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name == 'pull_request' && 'pr' || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
Scan:
name: Scan
Expand Down
Loading