{"id":28024634,"url":"https://github.com/okteto/notify-pr","last_synced_at":"2025-07-20T16:04:41.151Z","repository":{"id":44796103,"uuid":"348868862","full_name":"okteto/notify-pr","owner":"okteto","description":"GitHub action to notify a PR when a preview environment is ready","archived":false,"fork":false,"pushed_at":"2022-01-24T09:19:42.000Z","size":14,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-11T02:47:06.623Z","etag":null,"topics":["development-workflows","okteto-cloud","workflows"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/okteto.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}},"created_at":"2021-03-17T22:25:48.000Z","updated_at":"2022-03-20T01:09:39.000Z","dependencies_parsed_at":"2022-07-22T02:17:59.447Z","dependency_job_id":null,"html_url":"https://github.com/okteto/notify-pr","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/okteto/notify-pr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okteto%2Fnotify-pr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okteto%2Fnotify-pr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okteto%2Fnotify-pr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okteto%2Fnotify-pr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/okteto","download_url":"https://codeload.github.com/okteto/notify-pr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okteto%2Fnotify-pr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266152294,"owners_count":23884481,"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":["development-workflows","okteto-cloud","workflows"],"created_at":"2025-05-11T02:22:19.602Z","updated_at":"2025-07-20T16:04:41.124Z","avatar_url":"https://github.com/okteto.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Actions for Okteto Cloud\n\n## Automate your development workflows using Github Actions and Okteto Cloud\nGitHub Actions gives you the flexibility to build an automated software development workflows. With GitHub Actions for Okteto Cloud you can create workflows to build, deploy and update your applications in [Okteto Cloud](https://cloud.okteto.com).\n\nGet started today with a [free Okteto Cloud account](https://cloud.okteto.com)!\n\n# Github action to notify a PR when a preview environment is ready\n\nYou can use this action to share the URL of the preview environment on a PR.\n\nYou can use this action to enable your CI/CD workflow in [Okteto Cloud](https://cloud.okteto.com).\n\n[This document](https://okteto.com/docs/tutorials/getting-started-with-pipelines/index.html) has more information on this workflow.\n\n## Inputs\n\n### `message`\n\nThe message to send to the PR\n\n\n# Example usage\n\nThis example runs the context action, activates a namespace, and triggers the Okteto pipeline\n\n```yaml\n# File: .github/workflows/workflow.yml\non:\n  pull_request:\n    branches:\n      - master\n\nname: example\n\njobs:\n  devflow:\n    runs-on: ubuntu-latest\n    steps:\n    - name: checkout\n      uses: actions/checkout@master    \n\n    - name: Context\n      uses: okteto/context@latest\n      with:\n        token: ${{ secrets.OKTETO_TOKEN }}\n\n    - name: \"Activate Namespace\"\n      uses: okteto/namespace@latest\n      with:\n        name: cindylopez\n    \n    - name: \"Trigger the pipeline\"\n      uses: okteto/pipeline@latest\n      with:\n        name: pr-${{ github.event.number }}\n        timeout: 8m\n    \n    - name: comment PR\n      uses: okteto/notify-pr@master\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n        message: \"Preview environment available at https://movies-pr-${{ github.event.number }}-cindylopez.cloud.okteto.net\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokteto%2Fnotify-pr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fokteto%2Fnotify-pr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokteto%2Fnotify-pr/lists"}