Skip to content

Commit

Permalink
add linting workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
anikaweinmann committed Dec 9, 2024
1 parent 69397a8 commit 840fad6
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Linting and code quality check

on: [push, pull_request]

jobs:
lint:
uses: mundialis/github-workflows/.github/workflows/linting.yml@main
# with:
# # set pylint-version to empty string to skip the pylint workflow
# pylint-version: ''
# BASH_SEVERITY: 'warning'
# VALIDATE_DOCKERFILE_HADOLINT: false
# VALIDATE_JSON: false
# VALIDATE_HTML: false
# VALIDATE_CSS: false
# VALIDATE_BASH_EXEC: false

post-pr-reviews:
needs: lint
if: ${{ needs.lint.result == 'failure' }}
uses: mundialis/github-workflows/.github/workflows/post-pr-reviews.yml@add_post_pr_reviews

0 comments on commit 840fad6

Please sign in to comment.