Skip to content

Commit

Permalink
[enhancement] reduce Github Actions runner loading by setting concurr…
Browse files Browse the repository at this point in the history
…encies (#2077)

* Update pr-checklist.yml

* Update renovate-validation.yml
  • Loading branch information
icfaust authored Oct 2, 2024
1 parent 2c73bb8 commit f64bbea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pr-checklist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ on:
pull_request:
types: [opened, edited, synchronize]

concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name }}-${{ github.event.number || github.sha }}
cancel-in-progress: true

jobs:
checklist:
name: Close all checkboxes before moving from draft
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/renovate-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ on:
permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name }}-${{ github.event.number || github.sha }}
cancel-in-progress: true

jobs:
validate:
name: Renovate validation
Expand Down

0 comments on commit f64bbea

Please sign in to comment.