{"id":31642184,"url":"https://github.com/flex-development/ghr-url-action","last_synced_at":"2026-05-03T22:32:48.883Z","repository":{"id":315331815,"uuid":"1059056395","full_name":"flex-development/ghr-url-action","owner":"flex-development","description":"Create a URL for a GitHub registry","archived":false,"fork":false,"pushed_at":"2025-12-02T21:15:51.000Z","size":2810,"stargazers_count":1,"open_issues_count":12,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-18T11:15:27.442Z","etag":null,"topics":["actions","container","deploy","deployment","environment","ghcr","github","gpr","url"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/ghr-url","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flex-development.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/funding.yml","license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["flex-development"]}},"created_at":"2025-09-17T23:58:20.000Z","updated_at":"2025-10-06T01:29:01.000Z","dependencies_parsed_at":"2025-09-19T05:36:14.776Z","dependency_job_id":null,"html_url":"https://github.com/flex-development/ghr-url-action","commit_stats":null,"previous_names":["flex-development/gpr-url-action","flex-development/ghr-url-action"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/flex-development/ghr-url-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flex-development%2Fghr-url-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flex-development%2Fghr-url-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flex-development%2Fghr-url-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flex-development%2Fghr-url-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flex-development","download_url":"https://codeload.github.com/flex-development/ghr-url-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flex-development%2Fghr-url-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32587818,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"ssl_error","status_checked_at":"2026-05-03T22:09:10.534Z","response_time":103,"last_error":"SSL_read: 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","container","deploy","deployment","environment","ghcr","github","gpr","url"],"created_at":"2025-10-07T03:57:03.064Z","updated_at":"2026-05-03T22:32:48.869Z","avatar_url":"https://github.com/flex-development.png","language":"TypeScript","funding_links":["https://github.com/sponsors/flex-development"],"categories":[],"sub_categories":[],"readme":"# ghr-url\n\n[![github release](https://img.shields.io/github/v/release/flex-development/ghr-url-action.svg?include_prereleases\\\u0026sort=semver)](https://github.com/flex-development/ghr-url-action/releases/latest)\n[![test](https://github.com/flex-development/ghr-url-action/actions/workflows/test.yml/badge.svg)](https://github.com/flex-development/ghr-url-action/actions/workflows/test.yml)\n[![module type: esm](https://img.shields.io/badge/module%20type-esm-brightgreen)](https://github.com/voxpelli/badges-cjs-esm)\n[![license](https://img.shields.io/github/license/flex-development/ghr-url-action.svg)](LICENSE.md)\n[![conventional commits](https://img.shields.io/badge/-conventional%20commits-fe5196?logo=conventional-commits\\\u0026logoColor=ffffff)](https://conventionalcommits.org)\n[![yarn](https://img.shields.io/badge/-yarn-2c8ebb?style=flat\\\u0026logo=yarn\\\u0026logoColor=ffffff)](https://yarnpkg.com)\n\nCreate a URL for a GitHub registry\n\n## Contents\n\n- [What is this?](#what-is-this)\n- [Use](#use)\n- [Inputs](#inputs)\n  - [`container`](#container)\n  - [`pkg`](#pkg)\n  - [`repo`](#repo)\n  - [`server`](#server)\n- [Outputs](#outputs)\n  - [`url`](#url)\n- [Related](#related)\n- [Contribute](#contribute)\n\n## What is this?\n\nThis is a simple action for creating GitHub package and container registry URLs.\n\n## Use\n\n```yaml\n---\nname: publish\non:\n  release:\n    types:\n      - published\njobs:\n  preflight:\n    runs-on: ubuntu-latest\n    outputs:\n      environment: ${{ steps.environment.outputs.url }}\n    steps:\n      - id: environment\n        name: Get environment url\n        uses: flex-development/ghr-url-action@1.0.0\n  gpr:\n    needs: preflight\n    permissions:\n      contents: read\n      id-token: write\n      packages: write\n    runs-on: ubuntu-latest\n    environment:\n      name: gpr\n      url: ${{ needs.preflight.outputs.environment }}\n    steps:\n      - id: checkout\n        name: Checkout ${{ github.ref_name }}\n        uses: actions/checkout@v5.0.0\n        with:\n          persist-credentials: false\n          ref: ${{ github.ref }}\n      - id: npmrc\n        name: Setup .npmrc file\n        uses: actions/setup-node@v5.0.0\n        with:\n          always-auth: true\n          node-version-file: .nvmrc\n          registry-url: https://npm.pkg.github.com\n          scope: ${{ github.repository_owner }}\n      - id: version\n        name: Get package version\n        uses: flex-development/manver-action@1.0.1\n      - id: dist-tag\n        name: Get dist tag\n        uses: flex-development/dist-tag-action@1.1.2\n        with:\n          target: ${{ steps.version.outputs.manifest }}\n      - id: publish\n        name: Publish package\n        env:\n          ARTIFACT: ${{ github.event.release.assets[0].browser_download_url }}\n          NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: npm publish --provenance ${{ steps.dist-tag.outputs.flag }} $ARTIFACT\n```\n\n## Inputs\n\n### `container`\n\n\u003e **default**: `false`\n\nWhether to generate a URL for the GitHub Container Registry (GHCR) (optional).\n\n### `pkg`\n\n\u003e **default**: `${{ github.event.repository.name }}`\n\nThe name of the package (optional).\n\n### `repo`\n\n\u003e **default**: `${{ github.repository }}`\n\nThe name of the repository, including the owner (optional).\n\n### `server`\n\n\u003e **default**: `${{ github.server_url }}`\n\nThe URL of the GitHub server (optional).\n\n## Outputs\n\n### `url`\n\nThe public registry URL.\n\n## Related\n\n- [`flex-development/gh-release-url-action`][gh-release-url-action] — create a url for a github release\n- [`flex-development/npm-url-action`][npm-url-action] — create a url for the npm registry\n\n## Contribute\n\nSee [`CONTRIBUTING.md`](CONTRIBUTING.md).\n\nThis project has a [code of conduct](./CODE_OF_CONDUCT.md). By interacting with this repository, organization, or\ncommunity you agree to abide by its terms.\n\n[gh-release-url-action]: https://github.com/flex-development/gh-release-url-action\n\n[npm-url-action]: https://github.com/flex-development/npm-url-action\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflex-development%2Fghr-url-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflex-development%2Fghr-url-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflex-development%2Fghr-url-action/lists"}