{"id":13565447,"url":"https://github.com/AlbertHernandez/branch-name-action","last_synced_at":"2025-04-03T22:31:29.722Z","repository":{"id":40286126,"uuid":"262755396","full_name":"AlbertHernandez/branch-name-action","owner":"AlbertHernandez","description":"Check if the branch name is following a convention name","archived":false,"fork":false,"pushed_at":"2024-02-15T19:11:38.000Z","size":9376,"stargazers_count":9,"open_issues_count":16,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-24T13:54:58.470Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/AlbertHernandez.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":"2020-05-10T09:46:21.000Z","updated_at":"2024-06-08T00:44:13.618Z","dependencies_parsed_at":"2024-06-08T00:43:55.745Z","dependency_job_id":"96b2c650-155a-45f3-92cf-6e0f60ae9304","html_url":"https://github.com/AlbertHernandez/branch-name-action","commit_stats":{"total_commits":12,"total_committers":2,"mean_commits":6.0,"dds":"0.16666666666666663","last_synced_commit":"106d820c9f9275a7d0f8cf3d4ef637a46bb7b4ba"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbertHernandez%2Fbranch-name-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbertHernandez%2Fbranch-name-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbertHernandez%2Fbranch-name-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbertHernandez%2Fbranch-name-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlbertHernandez","download_url":"https://codeload.github.com/AlbertHernandez/branch-name-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247090243,"owners_count":20881937,"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","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":"2024-08-01T13:01:47.142Z","updated_at":"2025-04-03T22:31:29.283Z","avatar_url":"https://github.com/AlbertHernandez.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e🔱\u003c/h1\u003e\n\u003ch3 align=\"center\"\u003ebranch-name-action\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003e\n    Check if the branch name is following a convention name\n\u003c/p\u003e\n\n## Usage\n\nYou can create a `.github/workflows/branch-name.yml` file:\n\n```yaml\nname: Branch Name\non:\n  pull_request:\n    types: [opened]\njobs:\n  branch_name:\n    runs-on: ubuntu-latest\n    name: Branch Name\n    steps:\n      - uses: AlbertHernandez/branch-name-action@v1\n        with:\n          branch_pattern: 'feature|bug|chore|hotfix'\n          comment_for_invalid_branch_name: 'Ups! This branch name is not following the standards! You can see them here: https://github.com/AlbertHernandez'\n          fail_if_invalid_branch_name: 'true'\n          ignore_branch_pattern: 'master|beta'\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n\n## Inputs\n\n| Name | Description | Required | Default Value |\n|------|-------------|----------|---------------|\n| branch_pattern | Pattern that should follow the names of the branches | true | |\n| comment_for_invalid_branch_name | Comment that will be written if the branch name does not follow the branch pattern | false | The name of this branch is not \\n following the standards of this project! |\n| fail_if_invalid_branch_name | If its true the the action will fail if the branch does not follow the branch pattern | false | false |\n| ignore_branch_pattern | Pattern of the branches names where this action will be no executed | false | |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlbertHernandez%2Fbranch-name-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAlbertHernandez%2Fbranch-name-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlbertHernandez%2Fbranch-name-action/lists"}