Skip to content

False Positive Warning for Valid Cron Expression #539

@minhqdao

Description

@minhqdao

Describe the bug
The YAML validator is showing a diagnostic hint/warning (blue squiggly line) although a valid cron expression is used.

To Reproduce
Steps to reproduce the behavior:

  1. Use this workflow:
name: Cron

on:
    schedule:
        - cron: "*/15 * * * *"

jobs:
    say_hi:
        runs-on: ubuntu-latest
        steps:
            - run: echo "hi"
  1. Observe warning

Expected behavior
No warning.

Screenshots
Image

Extension Version
v0.28.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Backlog 🗒

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions