Skip to content

Commit

Permalink
don't run many checks on same branch
Browse files Browse the repository at this point in the history
  • Loading branch information
makspll committed Nov 10, 2024
1 parent 779cbb0 commit 1fbe9a7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/bevy_mod_scripting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,16 @@ on:

name: Check and Lint - bevy_mod_scripting

concurrency:
# Use github.run_id on main branch
# Use github.event.pull_request.number on pull requests, so it's unique per pull request
# Use github.ref on other branches, so it's unique per branch
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
check:
name: Check {{ matrix.run_args.label }}
name: Check - {{ matrix.run_args.label }}
runs-on: ${{ matrix.run_args.os }}
strategy:
matrix:
Expand Down

0 comments on commit 1fbe9a7

Please sign in to comment.