{"id":20440335,"url":"https://github.com/netchris/semver-pre-release","last_synced_at":"2026-03-19T15:51:19.093Z","repository":{"id":218431170,"uuid":"746372951","full_name":"NetChris/semver-pre-release","owner":"NetChris","description":"Facilitate releases with SemVer enforcement","archived":false,"fork":false,"pushed_at":"2024-01-22T07:02:31.000Z","size":5,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-15T20:21:16.993Z","etag":null,"topics":["github-actions-actions","netchris-ci-managed"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NetChris.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-01-21T21:15:48.000Z","updated_at":"2024-04-27T23:55:38.000Z","dependencies_parsed_at":"2024-01-21T22:58:22.530Z","dependency_job_id":"291063f7-773a-4543-9fe5-0beede97a877","html_url":"https://github.com/NetChris/semver-pre-release","commit_stats":null,"previous_names":["netchris/semver-pre-release"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetChris%2Fsemver-pre-release","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetChris%2Fsemver-pre-release/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetChris%2Fsemver-pre-release/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetChris%2Fsemver-pre-release/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NetChris","download_url":"https://codeload.github.com/NetChris/semver-pre-release/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241989857,"owners_count":20053802,"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":["github-actions-actions","netchris-ci-managed"],"created_at":"2024-11-15T09:23:38.897Z","updated_at":"2026-03-06T08:04:15.692Z","avatar_url":"https://github.com/NetChris.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# semver-pre-release\n \nEnforce the ref for a pre-release.  The git ref:\n\n- MUST be a SemVer version\n- MUST have a pre-release version\n\n## Using\n\n``` yaml\nname: Pre-Release\n\non:\n  release:\n    types: [prereleased]\n\njobs:\n  publish_pre_release:\n    runs-on: ubuntu-latest\n    name: NAME\n    steps:\n      - name: Enforce SemVer for pre-release\n        id: enforce_semver\n        uses: NetChris/semver-pre-release@SHA\n      - name: Use the SemVer version\n        run: echo Do something with semver_version: ${{ steps.enforce_semver.outputs.semver_version }}\n```\n\nUse the latest (or most-appropriate) SHA to ensure consistent results.\n\n## Notes\n\nAlthough not a concern of this action, it's important to point out an issue with the `prereleased` release type.  From [the GitHub documentation](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release), there is an issue releasing a _draft_ pre-release:\n\n\u003e Note: The prereleased type will not trigger for pre-releases published from draft releases, but the published type will trigger. If you want a workflow to run when stable and pre-releases publish, subscribe to published instead of released and prereleased.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetchris%2Fsemver-pre-release","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetchris%2Fsemver-pre-release","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetchris%2Fsemver-pre-release/lists"}