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

Skip superlinter #52

Open
1 of 3 tasks
claesgill opened this issue Nov 4, 2020 · 1 comment
Open
1 of 3 tasks

Skip superlinter #52

claesgill opened this issue Nov 4, 2020 · 1 comment
Labels

Comments

@claesgill
Copy link
Contributor

claesgill commented Nov 4, 2020

What is the issue?

From time to time we experience bugs with the Github Superlinter and it could fail. Proposing that we implement a skip-linter label to skip the linter-test.

Suggestion(s)/solution(s) [Optional]

Something like this should do the job:

jobs:
  linter:
    runs-on: ubuntu-latest
    if: github.event.pull_request.labels.*.name != 'skip-linter'
    steps:
...

⚠️ Note

I tried to implement this, but the linter-job is set as required so it didn't work. I think it needs to be turned off by the repo owner to work, but I'm not sure.

Checklist (after created issue)

  • Added label(s)
  • Added to project
  • Added to milestone
@claesgill
Copy link
Contributor Author

claesgill commented Nov 23, 2020

Will retry this now that Fredrik has removed linter as required.

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

Successfully merging a pull request may close this issue.

2 participants