{"id":31760547,"url":"https://github.com/managedkaos/merge-pull-request","last_synced_at":"2025-10-09T21:32:43.431Z","repository":{"id":42077817,"uuid":"180409154","full_name":"managedkaos/merge-pull-request","owner":"managedkaos","description":"A GitHub Action for merging pull requests.","archived":false,"fork":false,"pushed_at":"2023-03-01T23:42:22.000Z","size":36,"stargazers_count":7,"open_issues_count":3,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-11T08:45:53.735Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/managedkaos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2019-04-09T16:35:29.000Z","updated_at":"2023-03-01T23:35:28.000Z","dependencies_parsed_at":"2024-06-21T20:19:18.958Z","dependency_job_id":"4bc387a9-0cf5-422d-b72e-6048c7e6e5a1","html_url":"https://github.com/managedkaos/merge-pull-request","commit_stats":{"total_commits":44,"total_committers":6,"mean_commits":7.333333333333333,"dds":0.2727272727272727,"last_synced_commit":"264356e44b7332e3d05aa49187fc67a234fbb0bd"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/managedkaos/merge-pull-request","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/managedkaos%2Fmerge-pull-request","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/managedkaos%2Fmerge-pull-request/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/managedkaos%2Fmerge-pull-request/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/managedkaos%2Fmerge-pull-request/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/managedkaos","download_url":"https://codeload.github.com/managedkaos/merge-pull-request/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/managedkaos%2Fmerge-pull-request/sbom","scorecard":{"id":614664,"data":{"date":"2025-08-11","repo":{"name":"github.com/managedkaos/merge-pull-request","commit":"264356e44b7332e3d05aa49187fc67a234fbb0bd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"checks":[{"name":"Code-Review","score":3,"reason":"Found 6/18 approved changesets -- score normalized to 3","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":"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":"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":"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":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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/auto-merge.yml: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":"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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"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/auto-merge.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/managedkaos/merge-pull-request/auto-merge.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/auto-merge.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/managedkaos/merge-pull-request/auto-merge.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/auto-merge.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/managedkaos/merge-pull-request/auto-merge.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/auto-merge.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/managedkaos/merge-pull-request/auto-merge.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/auto-merge.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/managedkaos/merge-pull-request/auto-merge.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating alpine to alpine@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   0 out of   1 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":"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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 20 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-21T03:34:50.516Z","repository_id":42077817,"created_at":"2025-08-21T03:34:50.516Z","updated_at":"2025-08-21T03:34:50.516Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002057,"owners_count":26083286,"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-09T02:00:07.460Z","response_time":59,"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":[],"created_at":"2025-10-09T21:30:34.091Z","updated_at":"2025-10-09T21:32:43.423Z","avatar_url":"https://github.com/managedkaos.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Merginator\n\nThis Action merges pull requests and deletes the branch associated with the PR.\n\n# Environment Variables\n- `GITHUB_TOKEN` - _Required_ Allows the Action to authenticte with the GitHub API.\n- `GITHUB_HOST` - _Default: github.com_ Set it to `github.enterprise.com` to run on GHES\n\n# Examples\nHere's an example workflow that uses the Merginator.  The workflow is triggered by a `PULL_REQUEST` being opened or reopened and checks for the following before merging the PR:\n\n- The PR author is one of \"automate6500\" or \"octocat\"\n- The code associted with the PR passes all lints and unit tests\n- The PR has been approved by the [Auto Approve Action](https://github.com/marketplace/actions/auto-approve)\n\n```\nname: Auto Merge Owner\n\non:\n  pull_request:\n    types: [opened, reopened]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n\n    - uses: actions/checkout@v3.3.0\n\n    - uses: actions/setup-python@v4.5.0\n      with:\n        python-version: 3.11\n\n    - name: flake8 and pylint\n      run: |\n        pip install -r requirements.txt\n        flake8 --ignore=E501,E231 *.py tests/*.py\n        pylint --errors-only --disable=C0301 --disable=C0326 *.py tests/*.py\n\n    - name: unit test\n      run: python -m unittest --verbose --failfast\n\n  merge:\n    if: github.actor == 'automate6500' || github.actor == 'octocat'\n    needs: [lint]\n    runs-on: ubuntu-latest\n    steps:\n\n    - uses: actions/checkout@v3.3.0\n\n    - name: Auto Approve\n      uses: hmarr/auto-approve-action@v3.1.0\n      with:\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Pull Request Merginator\n      uses: managedkaos/merge-pull-request@v2.2.0\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanagedkaos%2Fmerge-pull-request","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanagedkaos%2Fmerge-pull-request","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanagedkaos%2Fmerge-pull-request/lists"}