mpalmer / action-validator

Tool to validate GitHub Action and Workflow YAML files
GNU General Public License v3.0
271 stars 25 forks source link

Request: expression single quote vs double quotes #63

Closed jamesbraza closed 8 months ago

jamesbraza commented 8 months ago

https://docs.github.com/en/actions/learn-github-actions/expressions#literals talks about how double quotes aren't valid inside GitHub expressions:

env:
    A1: ${{ "invalid" }}
    A2: ${{ 'valid' }}

I don't think action-validator v0.5.3 is catching this. I would like to request adding validation for that to this tool

mpalmer commented 8 months ago

There's no validation of expressions at all at present, and while it would be a nice-to-have, I don't have any concrete plans of doing this work myself in the foreseeable future. I think that this particular request is covered by #22, so I'll close this off in favour of that issue.