mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-09 08:55:13 -04:00
* Add schedule to hcp runs * formatting Co-authored-by: Luis (LT) Carbonell <lt.carbonell@hashicorp.com>
This commit is contained in:
parent
3d420fec98
commit
ba786ab759
1 changed files with 10 additions and 4 deletions
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
|
|
@ -474,10 +474,16 @@ jobs:
|
|||
# been configured with the correct label.
|
||||
if: |
|
||||
needs.setup.outputs.is-ent-branch == 'true' &&
|
||||
needs.setup.outputs.workflow-trigger == 'pull_request' &&
|
||||
needs.artifacts-ent.result == 'success' &&
|
||||
needs.hcp-image.result == 'success' &&
|
||||
contains(fromJSON(needs.setup.outputs.labels), 'hcp/test')
|
||||
needs.setup.outputs.workflow-trigger == 'schedule' ||
|
||||
( needs.setup.outputs.workflow-trigger == 'pull_request' &&
|
||||
needs.artifacts-ent.result == 'success' &&
|
||||
needs.hcp-image.result == 'success' &&
|
||||
contains(fromJSON(needs.setup.outputs.labels), 'hcp/test')
|
||||
) ||
|
||||
( needs.setup.outputs.workflow-trigger == 'schedule' &&
|
||||
needs.artifacts-ent.result == 'success' &&
|
||||
needs.hcp-image.result == 'success'
|
||||
)
|
||||
needs:
|
||||
- setup
|
||||
- artifacts-ent
|
||||
|
|
|
|||
Loading…
Reference in a new issue