{"id":22831521,"url":"https://github.com/phrase/actions","last_synced_at":"2025-05-06T18:48:34.295Z","repository":{"id":38194981,"uuid":"433372504","full_name":"phrase/actions","owner":"phrase","description":"GitHub Actions for Phrase","archived":false,"fork":false,"pushed_at":"2025-02-12T08:13:09.000Z","size":69,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-03-31T01:51:13.829Z","etag":null,"topics":[],"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/phrase.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-11-30T09:40:22.000Z","updated_at":"2025-02-12T08:13:13.000Z","dependencies_parsed_at":"2024-01-05T15:39:51.241Z","dependency_job_id":"d636dec9-0b8e-4b7b-ac69-07d25fd1d812","html_url":"https://github.com/phrase/actions","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phrase%2Factions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phrase%2Factions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phrase%2Factions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phrase%2Factions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phrase","download_url":"https://codeload.github.com/phrase/actions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252749479,"owners_count":21798523,"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":[],"created_at":"2024-12-12T20:26:24.755Z","updated_at":"2025-05-06T18:48:34.276Z","avatar_url":"https://github.com/phrase.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# phrase/actions\n\nCollection of common GitHub Actions for Phrase.\n\n## lawa\n\nLicense checks for Elixir, Ruby, JS.\n\n### Setup\n\nCreate `.github/workflows/lawa-(js|ruby|elixir)-ci.yml` in your repo.\n\nExample:\n\n```yml\nname: CI\non: [ push ]\n\njobs:\n  lawa-ruby-ci:\n    uses: phrase/actions/.github/workflows/lawa-ruby-ci.yml@main\n    with:\n      decisions-file: license-decisions.yml\n    secrets:\n      github-token: ${{ secrets.GH_ACCESS_TOKEN }}\n```\n\nCreate `license-decisions.yml` in your repo.\n\nExample:\n\n```yml\n---\n- - :inherit_from\n  - url: https://raw.githubusercontent.com/phrase/lawa/master/config/license-decisions.yml\n    authorization: token $GITHUB_TOKEN\n\n```\n\n---\n\n### Secrets (common for every stack)\n\n##### `github-token`\n\n**Required** Pass GitHub token. Needs access to repos and packages.\n\n---\n\n### Elixir\n\n#### Inputs\n\n##### `otp-version`\n\n**Optional** OTP version, defaults to `24.2`.\n\n##### `elixir-version`\n\n**Optional** Elixir version, defaults to `1.13.1`.\n\n##### `ruby-version`\n\n**Optional** Ruby version for installing `lawa` gem, defaults to `3.0.3`.\n\n##### `ruby-bundler-version`\n\n**Optional** Ruby bundler version for installing `lawa` gem, defaults to `2.1.4`.\n\n##### `decisions-file`\n\n**Optional** Path to decisions file, defaults to `license-decisions.yml`.\n\n---\n\n### Ruby\n\n#### Inputs\n\n##### `ruby-version`\n\n**Optional** Ruby version for installing `lawa` gem and gems from `Gemfile` in the project, defaults to `2.7.3`.\n\n##### `decisions-file`\n\n**Optional** Path to decisions file, defaults to `license-decisions.yml`.\n\n---\n\n### JS\n\n#### Inputs\n\n##### `node-version`\n\n**Optional** Node version. Defaults to `12.13.0`\n\n##### `yarn-cwd`\n\n**Optional** Path to folder with `package.json`. Defaults to `.`.\n\n##### `ruby-version`\n\n**Optional** Ruby version for installing `lawa` gem and gems from `Gemfile` in the project, defaults to `2.7.3`.\n\n##### `decisions-file`\n\n**Optional** Path to decisions file, defaults to `license-decisions.yml`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphrase%2Factions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphrase%2Factions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphrase%2Factions/lists"}