{"id":20436502,"url":"https://github.com/codeeshop-oc/php-cs-fix-merge","last_synced_at":"2026-04-20T14:31:37.126Z","repository":{"id":65739230,"uuid":"598451550","full_name":"codeeshop-oc/php-cs-fix-merge","owner":"codeeshop-oc","description":"Fix PHP CS Issues and Create Pull request \u0026 Merge if have workflow permissions","archived":false,"fork":false,"pushed_at":"2024-01-12T00:25:36.000Z","size":859,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-06T15:44:23.618Z","etag":null,"topics":["github-actions","marketplace","marketplace-released","merge","php-cs-fix-merge-pull-request","php-cs-fixer"],"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/codeeshop-oc.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-07T06:09:10.000Z","updated_at":"2023-02-08T06:56:12.000Z","dependencies_parsed_at":"2024-11-15T12:46:19.164Z","dependency_job_id":null,"html_url":"https://github.com/codeeshop-oc/php-cs-fix-merge","commit_stats":{"total_commits":67,"total_committers":4,"mean_commits":16.75,"dds":"0.26865671641791045","last_synced_commit":"cd09b0720012c1affcd8493a93a84fa73c055c2b"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/codeeshop-oc/php-cs-fix-merge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeeshop-oc%2Fphp-cs-fix-merge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeeshop-oc%2Fphp-cs-fix-merge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeeshop-oc%2Fphp-cs-fix-merge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeeshop-oc%2Fphp-cs-fix-merge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeeshop-oc","download_url":"https://codeload.github.com/codeeshop-oc/php-cs-fix-merge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeeshop-oc%2Fphp-cs-fix-merge/sbom","scorecard":{"id":296256,"data":{"date":"2025-08-11","repo":{"name":"github.com/codeeshop-oc/php-cs-fix-merge","commit":"8da9818de7de85f22f8eee432f70a0004fb2f9a7"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"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":"Code-Review","score":0,"reason":"Found 0/5 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":"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":"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":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:25","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:26","Warn: no topLevel permission defined: .github/workflows/check-dist.yml:1","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/test.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":"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/check-dist.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/codeeshop-oc/php-cs-fix-merge/check-dist.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-dist.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/codeeshop-oc/php-cs-fix-merge/check-dist.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-dist.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/codeeshop-oc/php-cs-fix-merge/check-dist.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/codeeshop-oc/php-cs-fix-merge/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/codeeshop-oc/php-cs-fix-merge/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/codeeshop-oc/php-cs-fix-merge/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/codeeshop-oc/php-cs-fix-merge/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/codeeshop-oc/php-cs-fix-merge/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/codeeshop-oc/php-cs-fix-merge/test.yml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/test.yml:15","Info:   0 out of   9 GitHub-owned 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":"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":"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":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 0 commits out of 29 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":"17 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","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-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-wqq4-5wpv-mx2g","Warn: Project is vulnerable to: GHSA-3787-6prv-h9w3","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","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"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-17T19:35:15.693Z","repository_id":65739230,"created_at":"2025-08-17T19:35:15.694Z","updated_at":"2025-08-17T19:35:15.694Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32050875,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"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":["github-actions","marketplace","marketplace-released","merge","php-cs-fix-merge-pull-request","php-cs-fixer"],"created_at":"2024-11-15T08:44:17.845Z","updated_at":"2026-04-20T14:31:37.100Z","avatar_url":"https://github.com/codeeshop-oc.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php-cs-fix-merge\n[![build-test](https://github.com/codeeshop-oc/php-cs-fix-merge/actions/workflows/test.yml/badge.svg)](https://github.com/codeeshop-oc/php-cs-fix-merge/actions/workflows/test.yml)\n\nFix PHP CS Issues and Create Pull request and Merge \n\n**Note:**\nMerge \u0026 Pull Request only works if you provide [workflow permissions](../../settings/actions)\u003cbr/\u003e\nTick Yes in Option: Allow GitHub Actions to create and approve pull requests\n\n## Usage\n\nSee [action.yml](./action.yml)\n\n**Basic:**\n```yaml\n- uses: codeeshop-oc/php-cs-fix-merge@1.0.1\n```\n\n**Full:**\n```yaml\n- uses: codeeshop-oc/php-cs-fix-merge@1.0.1\n  with:\n    github_token: ${{ secrets.GITHUB_TOKEN }}\n    repository: ${{ github.repository }}\n    username: codeeshop-oc\n    email: github-action[bot]@users.noreply.github.com\n    temp_branch_name: php-cs-fix\n    master_branch_name: main\n    commit_message: Automated Bot Deployment\n    pull_title: Automated Bot Deployment\n    pull_body: Update PH CS Fix Files\n    assignee: codeeshop-oc\n    reviewer: codeeshop-oc\n```\n\n## Inputs\n\n```yaml\ngithub_token:\n  description: 'Github Token with commit access'\n  default: ${{ secrets.GITHUB_TOKEN }}\n  required: false\nrepository:\n  description: 'Repository, defaults to context github.repository if omited'\n  default: ${{ github.repository }}\n  required: false\nusername:\n  description: 'Username of user, defaults to context github.repository_owner if omited'\n  default: ${{ github.repository_owner }}\n  required: false\nemail:\n  description: 'Email of User, defaults to context \"github-action[bot]@users.noreply.github.com\" if omited'\n  default: 'github-action[bot]@users.noreply.github.com'\n  required: false\ntemp_branch_name:\n  description: 'Repostory owner, defaults to context \"php-cs-fix\" if omited'\n  default: 'php-cs-fix'\n  required: false\nmaster_branch_name:\n  description: 'Master Branch Name, defaults to context github.ref_name if omited'\n  default: ${{ github.ref_name }}\n  required: false\ncommit_message:\n  description: 'Commit Message, defaults to context \"Automated Bot Deployment\" if omited'\n  default: 'Automated Bot Deployment'\n  required: false\npull_title:\n  description: 'Pull request title, defaults to context \"Automated Bot Deployment\" if omited'\n  default: 'Automated Bot Deployment'\n  required: false\npull_body:\n  description: 'Pull request body text, defaults to \"Update PH CS Fix Files\" if omited'\n  default: 'Update PH CS Fix Files'\n  required: false\nassignee:\n  description: 'Pull request assignee, defaults to context github.repository_owner if omited'\n  default: ${{ github.repository_owner }}\n  required: false\nreviewer:\n  description: 'Pull request reviewer, defaults to context github.repository_owner if omited'\n  default: ${{ github.repository_owner }}\n  required: false\n```\n\n\n### Known Issue\n\nWhen pushing to the same repository, the workflow may return the following error using the action:\n\n```\nremote: Permission to \u003cowner\u003e/\u003crepository\u003e.git denied to github-actions[bot].\nfatal: unable to access 'https://github.com/\u003cowner\u003e/\u003crepository\u003e/': The requested URL returned error: 403\n```\n\nThis can be resolved by adding `persist-credentials: false` and `fetch-depth: 0` to the workflow configurations when using the `actions/checkout`.\n\n```yaml\n- uses: actions/checkout@v3\n  with:\n      persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of the personal access token.\n      fetch-depth: 0  # otherwise, there would be errors pushing refs to the destination repository.\n- uses: codeeshop-oc/php-cs-fix-merge@1.0.1\n  with:\n    github_token: ${{ secrets.GITHUB_TOKEN }}\n    repository: ${{ github.repository }}\n    username: codeeshop-oc\n    email: github-action[bot]@users.noreply.github.com\n    temp_branch_name: php-cs-fix\n    master_branch_name: main\n    commit_message: Automated Bot Deployment\n    pull_title: Automated Bot Deployment\n    pull_body: Update PH CS Fix Files\n    assignee: codeeshop-oc\n    reviewer: codeeshop-oc\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeeshop-oc%2Fphp-cs-fix-merge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeeshop-oc%2Fphp-cs-fix-merge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeeshop-oc%2Fphp-cs-fix-merge/lists"}