Skip to content

Commit ce1a779

Browse files
committed
Ability to execute the GraalVM native tests for some PR labels
1 parent b5bbc62 commit ce1a779

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/native-tests-daily.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@ on:
55
# daily at 4:00 UTC
66
- cron: "0 4 * * *"
77
workflow_dispatch:
8+
pull_request:
9+
types: [ labeled ]
810

911
jobs:
10-
build:
12+
graalvm-native-tests:
13+
if: ${{ github.event.label.name == 'native' || github.event.label.name == 'spring boot starter' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'}}
1114
runs-on: ubuntu-latest
1215
steps:
1316
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
@@ -27,8 +30,8 @@ jobs:
2730
2831
workflow-notification:
2932
needs:
30-
- build
31-
if: always()
33+
- graalvm-native-tests
34+
if: github.event_name == 'schedule'
3235
uses: ./.github/workflows/reusable-workflow-notification.yml
3336
with:
3437
success: ${{ needs.build.result == 'success' }}

0 commit comments

Comments
 (0)