{"id":15286446,"url":"https://github.com/morphy2k/revive-action","last_synced_at":"2025-10-13T11:04:54.725Z","repository":{"id":38848962,"uuid":"205468834","full_name":"morphy2k/revive-action","owner":"morphy2k","description":"GitHub Action that runs Revive on your Go code","archived":false,"fork":false,"pushed_at":"2025-10-08T04:01:13.000Z","size":247,"stargazers_count":41,"open_issues_count":6,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-13T11:03:40.455Z","etag":null,"topics":["action","annotations","code","go","lint","quality","revive","static-analysis","utility"],"latest_commit_sha":null,"homepage":"","language":"Go","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/morphy2k.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["morphy2k"]}},"created_at":"2019-08-30T23:16:26.000Z","updated_at":"2025-09-15T06:23:51.000Z","dependencies_parsed_at":"2023-10-03T04:14:18.961Z","dependency_job_id":"88e0c0dc-c493-41b9-a4fd-47775b2ac7b4","html_url":"https://github.com/morphy2k/revive-action","commit_stats":{"total_commits":158,"total_committers":5,"mean_commits":31.6,"dds":0.4810126582278481,"last_synced_commit":"52537d8fec26ab324255fb84e08d52d67f3b435a"},"previous_names":[],"tags_count":62,"template":false,"template_full_name":null,"purl":"pkg:github/morphy2k/revive-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morphy2k%2Frevive-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morphy2k%2Frevive-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morphy2k%2Frevive-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morphy2k%2Frevive-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/morphy2k","download_url":"https://codeload.github.com/morphy2k/revive-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morphy2k%2Frevive-action/sbom","scorecard":{"id":660438,"data":{"date":"2025-08-11","repo":{"name":"github.com/morphy2k/revive-action","commit":"bd8016177e3722fe0aad85e22507805641be5bb1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.1,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/13 approved changesets -- score normalized to 0","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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":3,"reason":"4 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/build.yaml:18","Warn: no topLevel permission defined: .github/workflows/build.yaml:1","Warn: no topLevel permission defined: .github/workflows/lint.yaml:1","Warn: no topLevel permission defined: .github/workflows/test.yaml:1","Info: no jobLevel write permissions found"],"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":"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yaml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/morphy2k/revive-action/build.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yaml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/morphy2k/revive-action/build.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yaml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/morphy2k/revive-action/build.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yaml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/morphy2k/revive-action/build.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yaml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/morphy2k/revive-action/build.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yaml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/morphy2k/revive-action/build.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yaml:63: update your workflow using https://app.stepsecurity.io/secureworkflow/morphy2k/revive-action/build.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yaml:74: update your workflow using https://app.stepsecurity.io/secureworkflow/morphy2k/revive-action/build.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yaml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/morphy2k/revive-action/lint.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yaml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/morphy2k/revive-action/lint.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/lint.yaml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/morphy2k/revive-action/lint.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yaml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/morphy2k/revive-action/test.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yaml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/morphy2k/revive-action/test.yaml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1","Warn: containerImage not pinned by hash: Dockerfile:16: pin your Docker image by updating ghcr.io/mgechev/revive:1.11.0 to ghcr.io/mgechev/revive:1.11.0@sha256:11683c288cbb50a9c0d36730b18809b1d59859a0f9409c564945db4a807649d0","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   7 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage 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":"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":"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":"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":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/build.yaml:13"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 21 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-21T16:00:45.681Z","repository_id":38848962,"created_at":"2025-08-21T16:00:45.681Z","updated_at":"2025-08-21T16:00:45.681Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279014755,"owners_count":26085593,"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-13T02:00:06.723Z","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":["action","annotations","code","go","lint","quality","revive","static-analysis","utility"],"created_at":"2024-09-30T15:14:04.349Z","updated_at":"2025-10-13T11:04:54.709Z","avatar_url":"https://github.com/morphy2k.png","language":"Go","funding_links":["https://github.com/sponsors/morphy2k"],"categories":[],"sub_categories":[],"readme":"# Revive Action\n\nThis Action runs [Revive](https://github.com/mgechev/revive) on your [Go](https://golang.org/) code and adds annotations to the check.\n\n## Usage\n\n### Checkout\n\n```YAML\n- name: Check out code into the Go module directory\n  uses: actions/checkout@v4\n```\n\n### Use by pulling pre-built image\n\n#### Docker Hub image\n\n```YAML\n- name: Run Revive Action by pulling pre-built image\n  uses: docker://morphy/revive-action:v2\n```\n\n#### GitHub Container registry image\n\n```YAML\n- name: Run Revive Action by pulling pre-built image\n  uses: docker://ghcr.io/morphy2k/revive-action:v2\n```\n\n\u003e [!NOTE]\n\u003e Using a pre-built image is more resource-efficient and has a shorter execution time.\n\n### Use by building from repository\n\n```YAML\n- name: Run Revive Action by building from repository\n  uses: morphy2k/revive-action@v2\n```\n\n### Configuration\n\n```YAML\n  with:\n    # Path to your Revive config within the repo (optional)\n    config: revive.toml\n\n    # Exclude patterns (default: vendor/...)\n    exclude: |\n      file.go\n      foo/bar.go\n      ./foo/bar/...\n\n    # Path pattern (default: ./...)\n    path: ./foo/...\n\n    # Fail on any issue. Overrides the error and warning code in config (default: false)\n    fail-on-any: true\n```\n\n### Workflow example\n\n```YAML\nname: Lint\n\non:\n  pull_request:\n  push:\n    paths:\n      - '**.go'\n      - 'go.mod'\n      - 'go.sum'\n      - 'revive.toml'\n\njobs:\n\n  lint:\n    name: Lint\n    runs-on: ubuntu-latest\n    steps:\n\n    - name: Check out code into the Go module directory\n      uses: actions/checkout@v4\n\n    - name: Run Revive Action\n      uses: docker://morphy/revive-action:v2\n      with:\n        config: revive.toml\n```\n\n## Screenshots\n\n![Screenshot of annotations](screenshot.png)\n\n_GitHub Annotations_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorphy2k%2Frevive-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorphy2k%2Frevive-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorphy2k%2Frevive-action/lists"}