{"id":40878281,"url":"https://github.com/daneden/enable-automerge-action","last_synced_at":"2026-01-22T01:08:15.296Z","repository":{"id":37059508,"uuid":"358624211","full_name":"daneden/enable-automerge-action","owner":"daneden","description":"🤖 A GitHub action that enables automerge for pull requests opened by a specified author","archived":false,"fork":false,"pushed_at":"2023-03-03T23:04:11.000Z","size":174,"stargazers_count":13,"open_issues_count":6,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-30T15:02:36.190Z","etag":null,"topics":["action","github-actions","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/daneden.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-16T14:23:09.000Z","updated_at":"2025-05-06T13:04:13.000Z","dependencies_parsed_at":"2024-10-25T05:27:22.870Z","dependency_job_id":"69a664a8-61cd-4f0a-9f0e-1cb4df8f42eb","html_url":"https://github.com/daneden/enable-automerge-action","commit_stats":{"total_commits":35,"total_committers":1,"mean_commits":35.0,"dds":0.0,"last_synced_commit":"f8558b65c5b8d8bfb592c4e74e3d491624a38fbd"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/daneden/enable-automerge-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daneden%2Fenable-automerge-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daneden%2Fenable-automerge-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daneden%2Fenable-automerge-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daneden%2Fenable-automerge-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daneden","download_url":"https://codeload.github.com/daneden/enable-automerge-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daneden%2Fenable-automerge-action/sbom","scorecard":{"id":318749,"data":{"date":"2025-08-11","repo":{"name":"github.com/daneden/enable-automerge-action","commit":"f8558b65c5b8d8bfb592c4e74e3d491624a38fbd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/automerge.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":"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":"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":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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/automerge.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/daneden/enable-automerge-action/automerge.yml/main?enable=pin","Info:   0 out of   1 third-party GitHubAction 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":"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":"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":"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":"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 'main'"],"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":"Vulnerabilities","score":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-7r3h-m5j6-3q42","Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T00:53:47.566Z","repository_id":37059508,"created_at":"2025-08-18T00:53:47.566Z","updated_at":"2025-08-18T00:53:47.566Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28648490,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T21:29:11.980Z","status":"ssl_error","status_checked_at":"2026-01-21T21:24:31.872Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","github-actions","typescript"],"created_at":"2026-01-22T01:08:15.239Z","updated_at":"2026-01-22T01:08:15.288Z","avatar_url":"https://github.com/daneden.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Enable Automerge Action\n\nThis GitHub action enables automerge on pull requests opened by a specific\nauthor (defaulting to `dependabot`).\n\nWith automerge enabled, after required checks have completed, the target pull\nrequest will automatically be merged using the chosen merge method.\n\n## Prerequisites\n\n- You need to allow automerge on pull requests for your chosen repository.\n  Instructions for doing so can be found in\n  [GitHub’s documentation](https://docs.github.com/en/github/administering-a-repository/managing-auto-merge-for-pull-requests-in-your-repository).\n- It’s also recommended that you enable branch protection rules for required\n  status checks and/or requiring branches to be up-to-date before merging.\n  Information about branch protection rules can be found in\n  [GitHub’s documentation](https://docs.github.com/en/github/administering-a-repository/managing-a-branch-protection-rule).\n- You need to provide the action’s `github-token` option with a _personal access\n  token_ rather than the `GITHUB_TOKEN` environment variable. See\n  [Authentication](#authentication) for details.\n\n## Usage\n\nConfigure this action to run on the `pull_request` event. Here’s an example\n`workflow.yml`:\n\n```yaml\nname: Enable automerge on dependabot PRs\n\non:\n  # See note below about using pull_request_target\n  pull_request_target:\n\njobs:\n  automerge:\n    name: Enable automerge on dependabot PRs\n    runs-on: ubuntu-latest\n    steps:\n      - name: Enable automerge on dependabot PRs\n        uses: daneden/enable-automerge-action@v1\n        with:\n          # A personal access token that you have generated and saved in the\n          # repo or org’s encrypted secrets\n          github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}\n\n          # The name of the PR author to enable automerge for\n          # Defaults to dependabot[bot]\n          allowed-author: \"dependabot[bot]\"\n\n          # Allowed values: MERGE | SQUASH | REBASE\n          # Defaults to MERGE\n          merge-method: MERGE\n```\n\n**⚠️ Warning:** Using the `pull_request_target` event runs the action with\nread/write repository access from the pull request’s base branch. You should\nmake sure that you only specify trusted PR authors in the action config.\n\nThe `pull_request_target` event is specifically required for Dependabot PRs\nbecause of the\n[limited permissions granted to Dependabot by default](https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions/).\n\n## Authentication\n\nYou will need to\n[generate a personal access token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token)\nand\n[store it in repository or organisation secrets](https://docs.github.com/en/actions/reference/encrypted-secrets)\nto pass as the `github-token` value for this action to run.\n\nThe reason why you can’t use the standard `GITHUB_TOKEN` env variable is that\nthis workflow requires a specific user with write access on the repository to\nact on behalf of.\n\n## Options\n\n| Option           | Description                                                              | Value(s)                                                                                                                                                                                                                                                                                                  |\n| :--------------- | :----------------------------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `github-token`   | **Required.** The action’s authentication token.                         | String                                                                                                                                                                                                                                                                                                    |\n| `allowed-author` | The PR author username for which pull request automerge will be enabled. | String\u003cbr/\u003eDefaults to `dependabot[bot]`                                                                                                                                                                                                                                                                  |\n| `merge-method`   | The merge strategy for automerge.                                        | `MERGE` (default)\u003cbr/\u003eAdd all commits from the head branch to the base branch with a merge commit.\u003cbr/\u003e\u003cbr/\u003e `SQUASH`\u003cbr/\u003eCombine all commits from the head branch into a single commit in the base branch.\u003cbr/\u003e\u003cbr/\u003e`REBASE`\u003cbr/\u003eAdd all commits from the head branch onto the base branch individually. |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaneden%2Fenable-automerge-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaneden%2Fenable-automerge-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaneden%2Fenable-automerge-action/lists"}