github / vscode-github-actions

GitHub Actions extension for VS Code
https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-github-actions
MIT License
475 stars 72 forks source link

The on action *create.tags* incorrect syntax bug #255

Closed Sivli-Embir closed 11 months ago

Sivli-Embir commented 11 months ago

Describe the bug

The workflow on action syntax does not support the create: tag syntax and lists it as an error.

To Reproduce

With any workflow including

on:
  create:
    tags:
      - "*"

See that the tags is underlined in red and give the error A mapping was not expected

    tags:
      - "*"

Expected behavior

This syntax is documented

Screenshots

Screenshot 2023-09-03 at 7 16 32 AM

Extension Version v0.26.1

Sivli-Embir commented 11 months ago

Apologies, this is the correct error! I was following incorrect stack overflow information and my actions were not working as I understood it.