Skip to content

Commit 8fb68d3

Browse files
committed
re-run when label added
1 parent 6c1be8b commit 8fb68d3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/unittest.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
on:
22
pull_request:
3+
types: [opened, synchronize, reopened, labeled, unlabeled]
34
branches:
45
- main
56
- preview
@@ -15,6 +16,7 @@ permissions:
1516
jobs:
1617
initialize:
1718
runs-on: ubuntu-latest
19+
if: github.event.action != 'labeled' || github.event.label.name == 'unit_test:all_packages'
1820
outputs:
1921
matrix: ${{ steps.set-matrix.outputs.matrix }}
2022
is_full_run: ${{ steps.check-label.outputs.is_full_run }}

0 commit comments

Comments
 (0)