mirror of
https://github.com/Hestia-Homes/ML.git
synced 2026-06-08 11:17:25 +00:00
add on label
This commit is contained in:
parent
192fcfdfc8
commit
bbd5cc757e
1 changed files with 6 additions and 2 deletions
8
.github/workflows/MLPipelinePullRequest.yml
vendored
8
.github/workflows/MLPipelinePullRequest.yml
vendored
|
|
@ -6,18 +6,22 @@ on:
|
|||
# - "model-**"
|
||||
pull_request:
|
||||
branches: [ "master" ]
|
||||
label:
|
||||
types: ["created", "edited"]
|
||||
|
||||
permissions: write-all
|
||||
|
||||
jobs:
|
||||
|
||||
Enforce-label:
|
||||
No-Label:
|
||||
if: ${{ github.event.label.name != 'major' }} || ${{ github.event.label.name != 'minor' }} || ${{ github.event.label.name != 'patch' }}
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: No label associated with PR
|
||||
run: exit(1)
|
||||
run: |
|
||||
echo "Please choose one of these tags: 'major', 'major', 'patch'"
|
||||
exit(1)
|
||||
|
||||
# Verify-Model:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue