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

Workflow validation #819

Closed
wants to merge 88 commits into from

Conversation

KevinMenden
Copy link
Contributor

PR checklist

  • This comment contains a description of changes (with reason)
  • CHANGELOG.md is updated
  • If you've fixed a bug or added code that should be tested, add tests!
  • Documentation in docs is updated

Added the lint function actions_schema_validation which uses the GitHub workflow JSON schema to validate GitHub action workflows in .github/workflows/.

As suggested in #795

* Test that loading a nf-core-lint.yml config works and properly ignores all tests
* Test the JSON results dumping (mostly the old test, fixed up)
* Also made it a lot more lenient in not failing when files not found. Should fix nf-core#772
* Rewrote code to do multiple find+replace for a single file in one function call.
jfy133 and others added 28 commits December 10, 2020 13:38
* Ported docs from errors.md to the docstring in rst
* Added an additional lint test to also check that yamllint is running
* Updated the nf-core lint command to match the current workflow
Ignore the gitignore for sphinx docs
@github-actions
Copy link
Contributor

github-actions bot commented Jan 5, 2021

Hi @KevinMenden,

It looks like this pull-request has been made against the KevinMenden/tools master branch. The master branch on nf-core repositories should always contain code from the latest release. Because of this, PRs to master are only allowed if they come from the KevinMenden/tools dev branch.

You do not need to close this PR, you can change the target branch to dev by clicking the "Edit" button at the top of this page.

Thanks again for your contribution!

@KevinMenden KevinMenden closed this Jan 5, 2021
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.

4 participants