-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit a374bd0
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Repository Linting | ||
|
||
on: | ||
pull_request: | ||
branches: [ $default-branch ] | ||
|
||
jobs: | ||
linting_job: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: grantmcconnaughey/[email protected] | ||
with: | ||
# The GitHub API token to create reviews with | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
# Fail if "new" violations detected or "any", default "new" | ||
failIf: any | ||
# Additional arguments to pass to flake8, default "." (current directory) | ||
# E501 is lines that are too long | ||
args: "--ignore=E501 ." |