Skip to content

Commit

Permalink
Update workflows.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
AAriam committed Oct 19, 2023
1 parent d41fa6a commit 0878409
Showing 1 changed file with 53 additions and 61 deletions.
114 changes: 53 additions & 61 deletions src/repodynamics/meta/_data/schema/dev/workflows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,9 @@ properties:
additionalProperties: false
properties:
meta_check_action:
type: object
default: {}
additionalProperties: false
properties:
$ref: '#/definitions/check_action_properties'
required:
$ref: '#/definitions/check_action_required'
$ref: '#/definitions/check_action'
hooks_check_action:
type: object
default: { }
additionalProperties: false
properties:
$ref: '#/definitions/check_action_properties'
required:
$ref: '#/definitions/check_action_required'
$ref: '#/definitions/check_action'
schedule:
type: object
default: {}
Expand Down Expand Up @@ -130,50 +118,54 @@ required: [ workflow ]


definitions:
check_action_properties:
push_main:
type: string
enum: [ fail, amend, commit, pull ]
default: fail
push_release:
type: string
enum: [ fail, amend, commit, pull ]
default: fail
push_dev:
type: string
enum: [ fail, amend, commit, pull, none ]
default: commit
push_other:
type: string
enum: [ fail, amend, commit, pull, none ]
default: none
pull_main:
type: string
enum: [ fail, amend, commit, pull, none ]
default: fail
pull_release:
type: string
enum: [ fail, amend, commit, pull, none ]
default: fail
pull_dev:
type: string
enum: [ fail, amend, commit, pull, none ]
default: fail
pull_other:
type: string
enum: [ fail, amend, commit, pull, none ]
default: fail
schedule:
type: string
enum: [ fail, amend, commit, pull, none ]
default: pull
check_action_required:
- push_main
- push_release
- push_dev
- push_other
- pull_main
- pull_release
- pull_dev
- pull_other
- schedule
check_action:
type: object
default: { }
additionalProperties: false
properties:
push_main:
type: string
enum: [ fail, amend, commit, pull ]
default: fail
push_release:
type: string
enum: [ fail, amend, commit, pull ]
default: fail
push_dev:
type: string
enum: [ fail, amend, commit, pull, none ]
default: commit
push_other:
type: string
enum: [ fail, amend, commit, pull, none ]
default: none
pull_main:
type: string
enum: [ fail, amend, commit, pull, none ]
default: fail
pull_release:
type: string
enum: [ fail, amend, commit, pull, none ]
default: fail
pull_dev:
type: string
enum: [ fail, amend, commit, pull, none ]
default: fail
pull_other:
type: string
enum: [ fail, amend, commit, pull, none ]
default: fail
schedule:
type: string
enum: [ fail, amend, commit, pull, none ]
default: pull
required:
- push_main
- push_release
- push_dev
- push_other
- pull_main
- pull_release
- pull_dev
- pull_other
- schedule

0 comments on commit 0878409

Please sign in to comment.