{"id":19456838,"url":"https://github.com/porter-dev/porter-preview-action","last_synced_at":"2026-01-17T07:27:36.152Z","repository":{"id":37968071,"uuid":"435567661","full_name":"porter-dev/porter-preview-action","owner":"porter-dev","description":"Github Action that creates preview environments on Porter.","archived":false,"fork":false,"pushed_at":"2024-06-14T20:50:56.000Z","size":28,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-21T01:52:33.896Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/porter-dev.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":"2021-12-06T16:26:32.000Z","updated_at":"2024-06-14T20:50:59.000Z","dependencies_parsed_at":"2024-11-11T16:15:21.915Z","dependency_job_id":null,"html_url":"https://github.com/porter-dev/porter-preview-action","commit_stats":{"total_commits":20,"total_committers":5,"mean_commits":4.0,"dds":0.7,"last_synced_commit":"cb6c7eab8b427197958f3f0408c671a37ea81f86"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/porter-dev/porter-preview-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/porter-dev%2Fporter-preview-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/porter-dev%2Fporter-preview-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/porter-dev%2Fporter-preview-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/porter-dev%2Fporter-preview-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/porter-dev","download_url":"https://codeload.github.com/porter-dev/porter-preview-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/porter-dev%2Fporter-preview-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28504168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"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":[],"created_at":"2024-11-10T17:18:41.489Z","updated_at":"2026-01-17T07:27:36.130Z","avatar_url":"https://github.com/porter-dev.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# porter-preview-action\n\nThis Github action creates a new preview environment in Porter.\n\n## Usage\n\n```yaml\nsteps:\n  - name: Checkout code\n    uses: actions/checkout@v2.3.4\n  - name: Create Porter preview environment\n    uses: porter-dev/porter-preview-action@v0.1.0\n    with:\n      cluster: 1234\n      project: 4321\n      token: ${{ secrets.PORTER_TOKEN }}\n      namespace: pr-${{ github.event.pull_request.number }}\n      pr_id: ${{ github.event.pull_request.number }}\n      installation_id: 12344321\n      branch: ${{ github.head_ref }}\n      action_id: ${{ github.run_id }}\n```\n\n## Configuration Options\n\nThe possible inputs are:\n\n- `token`: (string, required): Token for Porter authentication.\n- `project`: (number, required): Project ID of Porter project.\n- `cluster`: (number, required): Cluster ID of Porter cluster.\n- `namespace`: (string, required): Namespace of the application (default \"default\")\n- `pr_id`: (number, required): The ID of the pull request\n- `installation_id`: (number, required): The installation ID for the Github app which manages preview envs\n- `branch`: (string, required): the branch name of the source branch.\n- `action_id`: the run id for Github actions, should be set automatically.\n- `host`: (string, optional): Host URL of Porter instance. Set this if you use a self-hosted Porter instance.\n- `file`: (string, optional): The path to the `porter.yaml` file (default \"./porter.yaml\").\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fporter-dev%2Fporter-preview-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fporter-dev%2Fporter-preview-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fporter-dev%2Fporter-preview-action/lists"}