{"id":21318641,"url":"https://github.com/codaline-io/dev-version-action","last_synced_at":"2026-02-12T23:02:09.432Z","repository":{"id":36958166,"uuid":"233591287","full_name":"codaline-io/dev-version-action","owner":"codaline-io","description":"A github action to create dev versions per git branch","archived":false,"fork":false,"pushed_at":"2025-05-20T09:50:28.000Z","size":458,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-16T11:57:06.531Z","etag":null,"topics":["actions","beta-versions","github","javascript","node","typescript","versioning"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/dev-version","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/codaline-io.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,"zenodo":null}},"created_at":"2020-01-13T12:33:19.000Z","updated_at":"2025-05-20T09:50:29.000Z","dependencies_parsed_at":"2025-05-20T21:33:29.819Z","dependency_job_id":null,"html_url":"https://github.com/codaline-io/dev-version-action","commit_stats":{"total_commits":58,"total_committers":5,"mean_commits":11.6,"dds":0.6551724137931034,"last_synced_commit":"56bd35a80d8a8fd75ba3af270ec583280924f950"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/codaline-io/dev-version-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codaline-io%2Fdev-version-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codaline-io%2Fdev-version-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codaline-io%2Fdev-version-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codaline-io%2Fdev-version-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codaline-io","download_url":"https://codeload.github.com/codaline-io/dev-version-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codaline-io%2Fdev-version-action/sbom","scorecard":{"id":295447,"data":{"date":"2025-08-11","repo":{"name":"github.com/codaline-io/dev-version-action","commit":"e3d40e96b4e6a12a4be29f736d1df5439110da22"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"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":"Code-Review","score":0,"reason":"Found 0/11 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":"Maintained","score":0,"reason":"1 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":"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/test.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/codaline-io/dev-version-action/test.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["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":"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":"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":"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":"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":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 19 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-17T19:23:01.592Z","repository_id":36958166,"created_at":"2025-08-17T19:23:01.593Z","updated_at":"2025-08-17T19:23:01.593Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29384998,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T22:07:52.078Z","status":"ssl_error","status_checked_at":"2026-02-12T22:07:49.026Z","response_time":55,"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":["actions","beta-versions","github","javascript","node","typescript","versioning"],"created_at":"2024-11-21T19:18:46.469Z","updated_at":"2026-02-12T23:02:09.404Z","avatar_url":"https://github.com/codaline-io.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dev-version\n\nThis action generates a new dev version number for a git branch, e.g. `1.0.0-dev.1` for all projects where the version is part of a json file, e.g. `package.json`.\n\nIt accepts a json file path and a branch name as input.\nNo release magic or analyzing changelogs is happening.\nThe main part of the version, e.g. `1.0.0` will not be touched. It is more like \"This dev-version is based on v1.0.0\" instead of semantic releases, where each prerelease bumps the correct breaking, feature or fix version.\n\n## What is happening\n\n1.   reads a json file - in general a package.json\n2.   check the **version** field in the json file\n3.   decides if there is already a dev release\n4.   creates a new version for that branch or increase the dev-release number\n5.   writes the new version into the json file\n6.   provides the new version string as output of the action\n7.   Now you can do what you want, e.g. commit \u0026 push the changes, use it for a build step or anything else :)\n\n## Examples\n\n### Simple branch\n\n1.   there is a branch named `dev` and its base branch is `master`\n2.   the `package.json` version is `1.0.0`\n3.   Using this action results in version `1.0.0-dev.1`\n4.   Running this action again, it will result in `1.0.0-dev.2`\n\n### Nested branches\n\n1.   there is a branch named `parent` and its base branch is `master`\n2.   now another branch `child` is based on `parent`\n3.   there is already a dev version in `parent` - `1.0.0-parent.1`\n4.   Using this action for `child` results in version `1.0.0-child.1`\n5.   The **nesting** is not represented in the version!\n\n### Branch names with `/`\n\n1.   there is a branch named `feat/next-big-thing`\n2.   Using this action for `feat/next-big-thing` results in version `1.0.0-next-big-thing.1`\n\n## Inputs\n\n- **branch**: The name of the branch to check if the current branch is master or a dev-branch. Default `master`.\n- **filePath**: The json file path or file name where the `version` field is present. Default `package.json`.\n\n## Outputs\n\n- **version**: The generated version number.\n\n## Example usage\n\n```\nuses: codaline-io/dev-version@0.1.2\nwith:\n  branch: feat/dev-branch\n  filePath: ./package.json\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodaline-io%2Fdev-version-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodaline-io%2Fdev-version-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodaline-io%2Fdev-version-action/lists"}