{"id":46757655,"url":"https://github.com/carloscastrojumo/github-cherry-pick-action","last_synced_at":"2026-03-09T21:36:10.723Z","repository":{"id":43724481,"uuid":"341983228","full_name":"carloscastrojumo/github-cherry-pick-action","owner":"carloscastrojumo","description":"GitHub action for cherry pick commits from Pull Requests into Release branchs","archived":false,"fork":false,"pushed_at":"2026-02-11T17:16:58.000Z","size":1162,"stargazers_count":61,"open_issues_count":5,"forks_count":42,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-14T19:47:30.762Z","etag":null,"topics":["cherry-pick","github","github-action","github-actions","pull-requests"],"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/carloscastrojumo.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-24T17:40:35.000Z","updated_at":"2026-02-11T16:30:38.000Z","dependencies_parsed_at":"2024-03-26T22:22:22.826Z","dependency_job_id":"7033c9eb-5d33-47b6-b7f7-f5ab8ca9958f","html_url":"https://github.com/carloscastrojumo/github-cherry-pick-action","commit_stats":{"total_commits":91,"total_committers":13,"mean_commits":7.0,"dds":0.5604395604395604,"last_synced_commit":"c980652a80bb76d11b6cdc38efb0a5cee28ff4e6"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":"actions/typescript-action","purl":"pkg:github/carloscastrojumo/github-cherry-pick-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carloscastrojumo%2Fgithub-cherry-pick-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carloscastrojumo%2Fgithub-cherry-pick-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carloscastrojumo%2Fgithub-cherry-pick-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carloscastrojumo%2Fgithub-cherry-pick-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carloscastrojumo","download_url":"https://codeload.github.com/carloscastrojumo/github-cherry-pick-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carloscastrojumo%2Fgithub-cherry-pick-action/sbom","scorecard":{"id":266163,"data":{"date":"2025-08-11","repo":{"name":"github.com/carloscastrojumo/github-cherry-pick-action","commit":"06648a8fd4a1d7cee5662d90e1f24456dac5ff37"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"name":"Code-Review","score":10,"reason":"all changesets reviewed","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":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":"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":"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":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/changelog.yaml:13","Warn: no topLevel permission defined: .github/workflows/changelog.yaml:1","Warn: no topLevel permission defined: .github/workflows/publish.yaml:1","Warn: no topLevel permission defined: .github/workflows/test.yaml:1","Warn: no topLevel permission defined: .github/workflows/verify-labels.yaml:1"],"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":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/changelog.yaml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/carloscastrojumo/github-cherry-pick-action/changelog.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yaml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/carloscastrojumo/github-cherry-pick-action/publish.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yaml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/carloscastrojumo/github-cherry-pick-action/publish.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yaml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/carloscastrojumo/github-cherry-pick-action/publish.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yaml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/carloscastrojumo/github-cherry-pick-action/test.yaml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/test.yaml:16","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   3 third-party GitHubAction dependencies pinned","Info:   1 out of   2 npmCommand 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":"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":"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":"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 30 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"}},{"name":"Vulnerabilities","score":0,"reason":"13 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","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-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-9qxr-qj54-h672","Warn: Project is vulnerable to: GHSA-m4v8-wqvr-p9f7","Warn: Project is vulnerable to: GHSA-c76h-2ccp-4975","Warn: Project is vulnerable to: GHSA-cxrh-j4jr-qwg3"],"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-17T12:05:59.171Z","repository_id":43724481,"created_at":"2025-08-17T12:05:59.171Z","updated_at":"2025-08-17T12:05:59.171Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30312182,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T20:05:46.299Z","status":"ssl_error","status_checked_at":"2026-03-09T19:57:04.425Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["cherry-pick","github","github-action","github-actions","pull-requests"],"created_at":"2026-03-09T21:36:10.606Z","updated_at":"2026-03-09T21:36:10.689Z","avatar_url":"https://github.com/carloscastrojumo.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/actions/typescript-action/actions\"\u003e\u003cimg alt=\"typescript-action status\" src=\"https://github.com/actions/typescript-action/workflows/build-test/badge.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# Cherry-picking a pull request commit into branchs\n\nThis action is designed to be used for cherry-pick commits from pull requests into release branches.\n\nGitHub Cherry Pick Action will:\n\n- Checkout triggered action.\n- Create new branch name `cherry-pick-${GITHUB_SHA}` from `branch` input.\n- Cherry-picking `${GITHUB_SHA}` into created `branch`\n- Push new `branch` to remote\n- Open pull request to `branch`\n\n\u003e _NOTE:_ The `GITHUB_SHA` is taken from the GitHub context, specifically from the `merge_commit_sha` attribute of the pull request object.\n\n## Example\n\nCherry-picking pull requests merged on main to branch _release-v1.0_ in pull requests labeled with **release-v1.0** and to branch _release-v2.0_ in pull requests labeled with **release-v2.0**.\n\n```yml\non:\n  pull_request:\n    branches:\n      - main\n    types: ['closed']\n\njobs:\n  cherry_pick_release_v1_0:\n    runs-on: ubuntu-latest\n    name: Cherry pick into release-v1.0\n    if: ${{ contains(github.event.pull_request.labels.*.name, 'release-v1.0') \u0026\u0026 github.event.pull_request.merged == true }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n      - name: Cherry pick into release-v1.0\n        uses: carloscastrojumo/github-cherry-pick-action@v1.0.1\n        with:\n          branch: release-v1.0\n          labels: |\n            cherry-pick\n          reviewers: |\n            aReviewerUser\n  cherry_pick_release_v2_0:\n    runs-on: ubuntu-latest\n    name: Cherry pick into release-v2.0\n    if: ${{ contains(github.event.pull_request.labels.*.name, 'release-v2.0') \u0026\u0026 github.event.pull_request.merged == true }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n      - name: Cherry pick into release-v2.0\n        uses: carloscastrojumo/github-cherry-pick-action@v1.0.1\n        with:\n          branch: release-v2.0\n          labels: |\n            cherry-pick\n          reviewers: |\n            aReviewerUser\n          title: '[cherry-pick] {old_title}'\n          body: 'Cherry picking #{old_pull_request_id} onto this branch'\nenv:\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n\n### Using outputs:\n\n```yml\nsteps:\n  - uses: actions/checkout@v3\n  - uses: carloscastrojumo/github-cherry-pick-action@v1.0.1\n    id: new-issue\n    with:\n      branch: release-v2.0\n      labels: cherry-pick\n    - run: |\n        echo \"${{ steps.new-issue.outputs.data }}\"\n        echo \"${{ steps.new-issue.outputs.number }}\"\n        echo \"${{ steps.new-issue.outputs.html_url }}\"\n```\n\n### Working with forked repositories\n\nIf you are using this action while working with forked repositories (e.g. when you get pull requests from external contributors), you will have to adapt the trigger to avoid permission problems.\n\nIn such a case you should use the `pull_request_target` trigger, which was introduced by github for this usecase.\n\n### Example\n\n```yml\non:\n  pull_request_target:\n    branches:\n      - main\n    types: [\"closed\"]\n ...\n```\n\nMor informatoin can be found in the [GitHub Blog](https://github.blog/2020-08-03-github-actions-improvements-for-fork-and-pull-request-workflows/#improvements-for-public-repository-forks)\n\n### Action inputs\n\n| Name                 | Description                                                                                                                                                                                                               | Default                                                              |\n| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- |\n| `token`              | `GITHUB_TOKEN` or a `repo` scoped [Personal Access Token (PAT)](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token).                                                             | `GITHUB_TOKEN`                                                       |\n| `committer`          | The committer name and email address in the format `Display Name \u003cemail@address.com\u003e`. Defaults to the GitHub Actions bot user.                                                                                           | `GitHub \u003cnoreply@github.com\u003e`                                        |\n| `author`             | The author name and email address in the format `Display Name \u003cemail@address.com\u003e`. Defaults to the user who triggered the workflow run.                                                                                  | `${{ github.actor }} \u003c${{ github.actor }}@users.noreply.github.com\u003e` |\n| `branch`             | Name of the branch to merge the cherry pick.                                                                                                                                                                              | `create-pull-request/patch`                                          |\n| `inherit_labels`     | Set true or false to inherit labels from the original pull request to the new cherry pick pull request.                                                                                                                   |\n| `labels`             | A comma or newline-separated list of labels.                                                                                                                                                                              |                                                                      |\n| `assignees`          | A comma or newline-separated list of assignees (GitHub usernames).                                                                                                                                                        |                                                                      |\n| `reviewers`          | A comma or newline-separated list of reviewers (GitHub usernames) to request a review from.                                                                                                                               |                                                                      |\n| `team-reviewers`     | A comma or newline-separated list of GitHub teams to request a review from. Note that a `repo` scoped [PAT](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) may be required. |                                                                      |\n| `title`              | Title of the new pull request, the special string `{old_title}` will be substituted for the title of the pull request which triggered the action                                                                          | [Triggering pull request title]                                      |\n| `body`               | Body of the new pull request, the special string `{old_pull_request_id}` will be substituted for the ID of the pull request which triggered the action                                                                    | [Triggering pull request body]                                       |\n| `cherry-pick-branch` | Name of the new cherry pick branch                                                                                                                                                                                        | `cherry-pick-${inputs.branch}-${commitSha}`                          |\n| `force`              | Set true or false to forcefully push the cherrypicked changes branch to remote branch.                                                                                                                                    | false                                                                |\n\n### Action outputs\n\n| output   | value                                                                         |\n| -------- | ----------------------------------------------------------------------------- |\n| data     | [See Response](https://docs.github.com/en/rest/issues/issues#create-an-issue) |\n| html_url | the issue's web url                                                           |\n| number   | the issue's number                                                            |\n\n## License\n\n[MIT](LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarloscastrojumo%2Fgithub-cherry-pick-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarloscastrojumo%2Fgithub-cherry-pick-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarloscastrojumo%2Fgithub-cherry-pick-action/lists"}