{"id":46289787,"url":"https://github.com/madsnedergaard/preview-link-in-linear","last_synced_at":"2026-03-04T08:01:42.790Z","repository":{"id":323755779,"uuid":"1093573976","full_name":"madsnedergaard/preview-link-in-linear","owner":"madsnedergaard","description":"An action that adds GitHub Deployments preview links to Linear issues","archived":false,"fork":false,"pushed_at":"2025-11-26T06:04:09.000Z","size":4152,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-28T08:46:52.516Z","etag":null,"topics":["actions","preview-environment"],"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/madsnedergaard.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-10T14:55:02.000Z","updated_at":"2025-11-26T06:04:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/madsnedergaard/preview-link-in-linear","commit_stats":null,"previous_names":["madsnedergaard/preview-in-linear-action","madsnedergaard/preview-link-in-linear"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/madsnedergaard/preview-link-in-linear","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madsnedergaard%2Fpreview-link-in-linear","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madsnedergaard%2Fpreview-link-in-linear/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madsnedergaard%2Fpreview-link-in-linear/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madsnedergaard%2Fpreview-link-in-linear/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madsnedergaard","download_url":"https://codeload.github.com/madsnedergaard/preview-link-in-linear/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madsnedergaard%2Fpreview-link-in-linear/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30075910,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T05:31:57.858Z","status":"ssl_error","status_checked_at":"2026-03-04T05:31:38.462Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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","preview-environment"],"created_at":"2026-03-04T08:01:42.310Z","updated_at":"2026-03-04T08:01:42.785Z","avatar_url":"https://github.com/madsnedergaard.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eGitHub Deployments links in Linear\u003c/h1\u003e\n\u003cp align=\"center\"\u003eMake it easy to access your preview environments in Linear with this GitHub Action.\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n![Preview in Linear Action](./screenshot.png)\n\n\u003c/div\u003e\n\n## Wait, doesn't Linear already have this?\n\n[Yes, kinda](https://linear.app/docs/github#pull-request-preview-links) - if a comment or PR description contains a markdown link ending with \"preview\", Linear will show this nice little icon:\n\n![Preview in Linear Action](./preview-links-in-linear-exists.png)\n\nBut this action is optimised towards those setups where you don't have a comment-based workflow and use GitHub Deployments directly.\n\n## Usage\n\n```yaml\nname: Preview Links in Linear\n# Run action when a new comment is added to a pull request and on deployment status changes\non: [issue_comment, deployment_status]\n\njobs:\n    preview-links-in-linear:\n        name: Preview Links in Linear\n        runs-on: ubuntu-latest\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n            - name: Attach preview link to Linear issue\n              uses: madsnedergaard/preview-link-in-linear@main\n              with:\n                  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n                  LINEAR_API_KEY: ${{ secrets.LINEAR_API_KEY }}\n```\n\n### Configuration\n\n**Linear API key**\n\nCreate a new Personal API key here: https://linear.app/{YOUR_ORGANIZATION}/settings/account/security\n\n## How it works\n\n1. The action is triggered when a new comment is added to a pull request (as we are expecting a Linear-bot comment with a link to the Linear issue) or a deployment status changes (we don't know what will come first, so we listen to both)\n2. It finds GitHub deployments on the pull request\n3. It finds the Linear issue associated with the pull request from the comment\n4. It attaches the preview link to the Linear issue 🪄\n\n### Supported providers\n\nThe following providers have been tested and verified to work:\n\n- Fly (using [the action in their guide](https://fly.io/docs/blueprints/review-apps-guide/))\n- Any custom setup that uses GitHub Deployments\n\n## Contribution\n\nAny feedback or suggestions are welcome, please open an issue or make a PR.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadsnedergaard%2Fpreview-link-in-linear","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadsnedergaard%2Fpreview-link-in-linear","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadsnedergaard%2Fpreview-link-in-linear/lists"}