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

Linting not working following directions at https://github.com/github/super-linter/blob/master/README.md #928

Closed
artgoldberg opened this issue Oct 30, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@artgoldberg
Copy link

Describe the bug

Did not get expected behavior following these directions (https://github.com/github/super-linter/blob/master/README.md):

To use this GitHub Action you will need to complete the following:

Create a new file in your repository called .github/workflows/linter.yml
Copy the example workflow from below into that new file, no extra configuration required
Commit that file to a new branch
Open up a pull request and observe the action working
Enjoy your more stable, and cleaner code base

To Reproduce
I followed the directions above at https://github.com/KarrLab/de_sim/tree/try_linter. See pull request KarrLab/de_sim#62.

Expected behavior
Instead of lint output, I find

grep: .github/workflows/linter.yml: No such file or directory

I'm probably doing something wrong.
Thanks for your attention.
Arthur

@artgoldberg artgoldberg added the bug Something isn't working label Oct 30, 2020
@GaboFDC
Copy link
Collaborator

GaboFDC commented Oct 30, 2020

Those grep are only informative and in the run i see the worflow run correctly and also in the logs i see:

2020-10-30 18:23:29 [INFO  ]   ----------------------------------------------
2020-10-30 18:23:29 [INFO  ]   ----------------------------------------------
2020-10-30 18:23:29 [INFO  ]   Linting [YAML] files...
2020-10-30 18:23:29 [INFO  ]   ----------------------------------------------
2020-10-30 18:23:29 [INFO  ]   ----------------------------------------------
2020-10-30 18:23:29 [INFO  ]   ---------------------------
2020-10-30 18:23:29 [INFO  ]   File:[.github/workflows/linter.yml]
2020-10-30 18:23:30 [INFO  ]    - File:[linter.yml] was linted with [yamllint] successfully
2020-10-30 18:23:30 [INFO  ]   ----------------------------------------------

So the linter is working as expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants