Skip to content

Commit

Permalink
Add noop job to trick circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinpalkovic committed Jul 6, 2023
1 parent 6715c52 commit e6dac94
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ parameters:
workflow:
description: Which workflow to run
type: enum
enum: ['pr', 'merged', 'daily']
enum: ['noop', 'merged', 'daily']
default: 'noop'

executors:
sb_node_16_classic:
Expand Down Expand Up @@ -81,6 +82,14 @@ commands:
fail_only: true
failure_message: $(yarn get-report-message << pipeline.parameters.workflow >> << parameters.template >>)
jobs:
noop:
executor:
class: small
name: sb_node_16_classic
steps:
- run:
name: Noop
command: echo "Noop"
pretty-docs:
executor:
class: small
Expand Down Expand Up @@ -458,6 +467,11 @@ jobs:
template: $(yarn get-template --cadence << pipeline.parameters.workflow >> --task bench)

workflows:
noop:
when:
equal: [noop, << pipeline.parameters.workflow >>]
jobs:
- noop
pr:
when:
equal: [pr, << pipeline.parameters.workflow >>]
Expand Down

0 comments on commit e6dac94

Please sign in to comment.