Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Commit 0320fa2

Browse files
committed
fix release/main triggered workflows
1 parent f885267 commit 0320fa2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build-wheel.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ on:
33
pull_request:
44
branches:
55
- main
6+
- 'release/*'
67
push:
78
branches:
89
- main
9-
- 'release/*'
1010
schedule:
1111
- cron: '0 0 * * *'
1212

@@ -20,10 +20,11 @@ concurrency:
2020

2121
# if not dev or release, will create a nightly build
2222
# everything is pushed to internal unless created through a nightly scheduled cron job
23+
# missing release tag workflow/needs to be added in
2324
env:
2425
INTERNAL: ${{ github.event_name != 'schedule' }}
25-
RELEASE: ${{ github.event_name == 'push' && github.ref == 'refs/heads/release/[0-9]+.[0-9]+' }}
26-
DEV: ${{ github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'synchronize')}}
26+
RELEASE: ${{ github.ref == 'refs/heads/release/[0-9]+.[0-9]+ && (github.event.action == 'opened' || github.event.action == 'synchronize')}}
27+
DEV: ${{ github.ref == 'main' && (github.event.action == 'opened' || github.event.action == 'synchronize')}}
2728
NAME: ${{ github.event.number }}
2829

2930
jobs:

0 commit comments

Comments
 (0)