Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add action-vallidator #83

Merged
merged 3 commits into from
Jun 9, 2023
Merged

add action-vallidator #83

merged 3 commits into from
Jun 9, 2023

Conversation

rluvaton
Copy link
Contributor

@rluvaton rluvaton commented Jun 9, 2023

This validates the workflows files here so it won't break fastify repos that use it

please add it as required check before merging

ref:

mostly took from: https://github.com/mpalmer/action-validator/blob/65a2ff41bd4bfad8ae36dd005fb4e7711d3fdad7/.github/workflows/qa.yml#LL178C1-L196C56

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollina
Copy link
Member

mcollina commented Jun 9, 2023

rebase with the fixed workflow?

@rluvaton
Copy link
Contributor Author

rluvaton commented Jun 9, 2023

done, let's merge it?

@mcollina mcollina merged commit 9e5443a into fastify:main Jun 9, 2023
2 checks passed

- name: Lint Workflows
run: |
find .github/workflows -type f \( -iname \*.yaml -o -iname \*.yml \) \
Copy link
Member

@Eomm Eomm Jun 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it relative to the this repo or the one that uses this action?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be Repo as the action failed when there was invalid workflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants