mpalmer / action-validator

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

Validate the action and action-version exists in workflows #38

Open award28 opened 1 year ago

award28 commented 1 year ago

Background

The action-validator should validate that any actions in the - use: {action}@{version} format exist. If this is not the case, an error should be reported.

Scope of Work

award28 commented 1 year ago

I'll start looking into this issue and add any details that I come across. Would be happy to raise a PR for this one.

mpalmer commented 1 year ago

This would certainly be an interesting additional validation. My only reservation is that it would presumably slow down validation a bit because of the network calls. Putting it behind a flag (something like --remote-checks perhaps) would work around that concern.

I'd love to take a look at a PR when you've got one together.

award28 commented 1 year ago

@mpalmer The PR for this issue is ready for review when you have the time