{"id":22751807,"url":"https://github.com/grantmcconnaughey/lintly-flake8-github-action","last_synced_at":"2025-10-26T07:41:09.549Z","repository":{"id":41984874,"uuid":"231962521","full_name":"grantmcconnaughey/lintly-flake8-github-action","owner":"grantmcconnaughey","description":"A GitHub Action that lints Python code with Flake8 then automatically creates pull request reviews if there are any violations.","archived":false,"fork":false,"pushed_at":"2022-04-20T15:02:31.000Z","size":164,"stargazers_count":27,"open_issues_count":10,"forks_count":18,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-05T06:57:02.341Z","etag":null,"topics":["continuous-integration","flake8","github-actions","linting","python"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grantmcconnaughey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-05T19:01:21.000Z","updated_at":"2025-09-03T17:03:41.000Z","dependencies_parsed_at":"2023-01-04T12:24:40.629Z","dependency_job_id":null,"html_url":"https://github.com/grantmcconnaughey/lintly-flake8-github-action","commit_stats":{"total_commits":16,"total_committers":3,"mean_commits":5.333333333333333,"dds":0.125,"last_synced_commit":"d9db4fd0be9fb1cd19206a48ec0773bd93b82cbd"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/grantmcconnaughey/lintly-flake8-github-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grantmcconnaughey%2Flintly-flake8-github-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grantmcconnaughey%2Flintly-flake8-github-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grantmcconnaughey%2Flintly-flake8-github-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grantmcconnaughey%2Flintly-flake8-github-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grantmcconnaughey","download_url":"https://codeload.github.com/grantmcconnaughey/lintly-flake8-github-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grantmcconnaughey%2Flintly-flake8-github-action/sbom","scorecard":{"id":443675,"data":{"date":"2025-08-11","repo":{"name":"github.com/grantmcconnaughey/lintly-flake8-github-action","commit":"d9db4fd0be9fb1cd19206a48ec0773bd93b82cbd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":1,"reason":"Found 2/16 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating python:3.9-slim to python:3.9-slim@sha256:369a16fc95ce13e4e1e1c76a5eaa88bd16e955dc82a55c2a69c3c25bb61dd590","Warn: pipCommand not pinned by hash: Dockerfile:12","Warn: pipCommand not pinned by hash: Dockerfile:13","Warn: pipCommand not pinned by hash: Dockerfile:14","Warn: pipCommand not pinned by hash: Dockerfile:15","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   4 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T06:10:42.843Z","repository_id":41984874,"created_at":"2025-08-19T06:10:42.843Z","updated_at":"2025-08-19T06:10:42.843Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281074245,"owners_count":26439421,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-26T02:00:06.575Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["continuous-integration","flake8","github-actions","linting","python"],"created_at":"2024-12-11T05:07:25.772Z","updated_at":"2025-10-26T07:41:09.518Z","avatar_url":"https://github.com/grantmcconnaughey.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lintly-Flake8 GitHub Action\n\nA GitHub Action that lints Python code with Flake8 then automatically creates pull request reviews if there are any violations. Uses [Lintly](http://github.com/grantmcconnaughey/Lintly) under the hood.\n\nSee [this pull request](https://github.com/grantmcconnaughey/lintly-flake8-github-action/pull/1#pullrequestreview-338419294) for an example.\n\n## Usage\n\nTo use Lintly-Flake8 GitHub Action, add the following to a GitHub Actions workflow file such as `.github/workflows/main.yml`:\n\n```yaml\non: [pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v1\n      - uses: grantmcconnaughey/lintly-flake8-github-action@v1.0\n        with:\n          # The GitHub API token to create reviews with\n          token: ${{ secrets.GITHUB_TOKEN }}\n          # Fail if \"new\" violations detected or \"any\", default \"new\"\n          failIf: new\n          # Additional arguments to pass to flake8, default \".\" (current directory)\n          args: \"--ignore=E121,E123 .\"\n```\n\nNow each PR created will be linted with Flake8. If there are any violations then Lintly will comment on the PR using the `github-actions` bot user.\n\n![Lintly example](example.png)\n\n**Note:** Lintly-Flake8 only works with the `pull_request` event. If your job runs on the `push` event then make sure the Lintly-Flake8 step only runs on the pull request event by adding `if: github.event_name == 'pull_request'`:\n\n```yaml\n      - uses: grantmcconnaughey/lintly-flake8-github-action@v1.0\n        if: github.event_name == 'pull_request'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrantmcconnaughey%2Flintly-flake8-github-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrantmcconnaughey%2Flintly-flake8-github-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrantmcconnaughey%2Flintly-flake8-github-action/lists"}