Skip to content

feat(runner): conditional execution (if/when) #18

Description

@CalvinAllen

Description

Run tasks conditionally based on environment or file conditions.

Proposed Syntax

deploy:
  if: \${{ env.CI == 'true' }}
  cmd: ./deploy.sh

test:
  when:
    - file_exists: package.json
  cmd: npm test

Acceptance Criteria

  • Support environment variable conditions
  • Support file existence checks
  • Support expression syntax
  • Clear skip message when condition not met

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

coreCore functionalityfutureFuture feature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions