{"id":51430347,"url":"https://github.com/merkaly-io/actions","last_synced_at":"2026-07-05T03:30:21.775Z","repository":{"id":363473601,"uuid":"1251476727","full_name":"merkaly-io/actions","owner":"merkaly-io","description":"Reusable GitHub Actions for Merkaly repositories — setup, deploy, publish, and release","archived":false,"fork":false,"pushed_at":"2026-06-09T04:42:50.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-09T05:05:03.970Z","etag":null,"topics":["actions","cicd","devops"],"latest_commit_sha":null,"homepage":null,"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/merkaly-io.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-27T16:05:23.000Z","updated_at":"2026-06-09T04:42:53.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/merkaly-io/actions","commit_stats":null,"previous_names":["merkaly-io/actions"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/merkaly-io/actions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merkaly-io%2Factions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merkaly-io%2Factions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merkaly-io%2Factions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merkaly-io%2Factions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/merkaly-io","download_url":"https://codeload.github.com/merkaly-io/actions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merkaly-io%2Factions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35142824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-05T02:00:06.290Z","response_time":100,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","cicd","devops"],"created_at":"2026-07-05T03:30:17.746Z","updated_at":"2026-07-05T03:30:21.618Z","avatar_url":"https://github.com/merkaly-io.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# merkaly-io/actions\n\nReusable GitHub Actions for Merkaly repositories — setup, deploy, publish, and release.\n\n## Actions\n\n### `setup`\n\nCheckout, enable corepack, set up Node 24 with pnpm cache, and install dependencies.\n\n```yaml\n- uses: merkaly-io/actions/setup@master\n```\n\nNo inputs.\n\n---\n\n### `deploy`\n\nBuild and deploy to Railway, then record a GitHub deployment.\n\n```yaml\n- uses: merkaly-io/actions/deploy@master\n  with:\n    railway_project_id: ${{ vars.RAILWAY_PROJECT_ID }}\n    railway_environment_id: ${{ vars.RAILWAY_ENVIRONMENT_ID }}\n    railway_service_id: ${{ vars.RAILWAY_SERVICE_ID }}\n    railway_token: ${{ secrets.RAILWAY_TOKEN }}\n```\n\n| Input | Required | Default | Description |\n|---|---|---|---|\n| `railway_project_id` | yes | — | Railway project UUID |\n| `railway_environment_id` | yes | — | Railway environment UUID |\n| `railway_service_id` | yes | — | Railway service UUID |\n| `railway_token` | yes | — | Railway API token |\n| `environment` | no | `production` | GitHub environment name shown in the deployment record |\n\n**Required job permission:**\n```yaml\npermissions:\n  deployments: write\n```\n\n**Flow:**\n1. Builds the app (`pnpm build`)\n2. Creates a GitHub deployment and marks it `in_progress`\n3. Deploys to Railway (`railway up --ci`)\n4. Resolves the Railway service URL (`railway domain`)\n5. Updates the GitHub deployment to `success` (with `environment_url`) or `failure`\n\n---\n\n### `publish`\n\nValidate that the tag matches `package.json` version, configure the npm registry, and publish.\n\n```yaml\n- uses: merkaly-io/actions/publish@master\n```\n\nNo inputs. Requires `NODE_AUTH_TOKEN` to be set (via `actions/setup-node` registry-url or a secret).\n\n---\n\n### `release`\n\nGenerate a changelog from git history and publish a GitHub Release.\n\n```yaml\n- uses: merkaly-io/actions/release@master\n```\n\nNo inputs. Requires `contents: write` permission on the calling job.\n\n---\n\n## Typical workflow\n\n```yaml\nname: Release\n\non:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    permissions:\n      deployments: write\n    steps:\n      - uses: merkaly-io/actions/deploy@master\n        with:\n          railway_project_id: ${{ vars.RAILWAY_PROJECT_ID }}\n          railway_environment_id: ${{ vars.RAILWAY_ENVIRONMENT_ID }}\n          railway_service_id: ${{ vars.RAILWAY_SERVICE_ID }}\n          railway_token: ${{ secrets.RAILWAY_TOKEN }}\n\n  release:\n    needs: deploy\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - uses: merkaly-io/actions/release@master\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmerkaly-io%2Factions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmerkaly-io%2Factions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmerkaly-io%2Factions/lists"}