Trigger CI on PR labeled CI
This commit is contained in:
parent
52bdfc659e
commit
86ec62f98a
|
@ -4,13 +4,14 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronize, reopened, labeled]
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
if: contains(github.event.pull_request.labels.*.name, 'CI')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
POETRY_VERSION: 1.8.1
|
POETRY_VERSION: 1.8.1
|
||||||
|
|
Loading…
Reference in New Issue