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
5 changes: 5 additions & 0 deletions .github/workflows/benchmark-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,17 @@ on:
workflows: [Benchmark]
types: [completed]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
comment:
if: >
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.event == 'pull_request'
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
actions: read
pull-requests: write
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
- 'benchmark.php'
- '.github/workflows/benchmark.yml'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
benchmark:
runs-on: ubuntu-latest
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/fix-php-code-style-issues.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: Fix PHP code style issues

on:
push:
paths:
- '**.php'
- 'pint.json'
pull_request:
paths:
- '**.php'
- 'pint.json'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: write

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/laravel-13-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ on:
- cron: '0 6 * * *'
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
# Silence forks — only run on the canonical repo.
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/mutation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ on:
schedule:
- cron: "0 6 * * 1"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
pest-mutate:
runs-on: ubuntu-latest
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,17 @@ permissions:
contents: read

on:
push:
paths:
- '**.php'
- 'phpstan.neon.dist'
- 'phpstan-baseline.neon'
- '.github/workflows/phpstan.yml'
pull_request:
paths:
- '**.php'
- 'phpstan.neon.dist'
- 'phpstan-baseline.neon'
- '.github/workflows/phpstan.yml'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
phpstan:
name: phpstan
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/rector.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
name: Rector

on:
push:
paths:
- '**.php'
- 'rector.php'
- '.github/workflows/rector.yml'
pull_request:
paths:
- '**.php'
- 'rector.php'
- '.github/workflows/rector.yml'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: write

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,14 @@ on:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false

jobs:
release:
runs-on: ubuntu-latest
timeout-minutes: 30

permissions:
contents: write
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@ permissions:
contents: read

on:
push:
paths:
- '**.php'
- '.github/workflows/run-tests.yml'
- 'phpunit.xml.dist'
- 'composer.json'
- 'composer.lock'
pull_request:
paths:
- '**.php'
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/tag-currency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ permissions:
# because a tag can also be moved or deleted directly on the remote, which no
# push to this repository would notice.
on:
push:
branches:
- main
pull_request:
schedule:
# Monday 06:00 America/New_York, matching the Dependabot window. Cron has no
Expand All @@ -23,6 +20,10 @@ on:
- cron: '0 11 * * 1'
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
tag-currency:
name: tag currency
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/update-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@ on:
release:
types: [released]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false

jobs:
update:
runs-on: ubuntu-latest
timeout-minutes: 15

permissions:
contents: write
Expand Down
Loading