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
9 changes: 8 additions & 1 deletion .github/workflows/Breakage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,14 @@ on:

jobs:
call:
if: contains(github.event.pull_request.labels.*.name, 'run breakage')
# A 'labeled' event fires once per label added, and re-evaluates against the PR's
# *current* full label set — so adding several labels in a row would otherwise
# re-run this job on every subsequent label add. Only react to 'labeled' when it's
# this specific label; for other trigger types (synchronize/reopened), fall back to
# checking the current label set as before.
if: >
(github.event.action == 'labeled' && github.event.label.name == 'run breakage') ||
(github.event.action != 'labeled' && contains(github.event.pull_request.labels.*.name, 'run breakage'))
strategy:
fail-fast: false
matrix:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,15 @@ on:

jobs:
call:
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run ci')
# A 'labeled' event fires once per label added, and re-evaluates against the PR's
# *current* full label set — so adding several labels in a row would otherwise
# re-run this job on every subsequent label add. Only react to 'labeled' when it's
# this specific label; for other trigger types (synchronize/reopened), fall back to
# checking the current label set as before.
if: >
github.event_name != 'pull_request' ||
(github.event.action == 'labeled' && github.event.label.name == 'run ci') ||
(github.event.action != 'labeled' && contains(github.event.pull_request.labels.*.name, 'run ci'))
uses: control-toolbox/CTActions/.github/workflows/ci.yml@main
with:
runs_on: '["ubuntu-latest","macos-latest"]'
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,15 @@ on:

jobs:
call:
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run documentation')
# A 'labeled' event fires once per label added, and re-evaluates against the PR's
# *current* full label set — so adding several labels in a row would otherwise
# re-run this job on every subsequent label add. Only react to 'labeled' when it's
# this specific label; for other trigger types (synchronize/reopened), fall back to
# checking the current label set as before.
if: >
github.event_name != 'pull_request' ||
(github.event.action == 'labeled' && github.event.label.name == 'run documentation') ||
(github.event.action != 'labeled' && contains(github.event.pull_request.labels.*.name, 'run documentation'))
uses: control-toolbox/CTActions/.github/workflows/documentation.yml@main
with:
use_ct_registry: true
Expand Down
Loading