Skip to content

Commit

Permalink
Run cloud/head jobs when label (#1250)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkaflik authored Mar 25, 2024
1 parent 9731ddf commit 09e7e4e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/run-tests-cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ on:
push:
branches:
- main
pull_request:
types: [labeled]

jobs:
cloud:
if: github.event.label.name == 'tests:run-cloud' || github.event_name == 'push'
runs-on: ubuntu-latest
defaults:
run:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/run-tests-head.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
pull_request:
types: [labeled]

jobs:
test-ch-head:
if: github.event.label.name == 'tests:run-head' || github.event_name == 'push' || github.event_name == 'schedule'
runs-on: ubuntu-latest
strategy:
fail-fast: true
Expand Down

0 comments on commit 09e7e4e

Please sign in to comment.