{"id":20801878,"url":"https://github.com/philips-software/inner-source-checkout-action","last_synced_at":"2025-09-28T10:30:34.339Z","repository":{"id":37825541,"uuid":"348984786","full_name":"philips-software/inner-source-checkout-action","owner":"philips-software","description":null,"archived":true,"fork":false,"pushed_at":"2023-09-12T07:25:40.000Z","size":520,"stargazers_count":1,"open_issues_count":12,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-22T09:07:23.244Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/philips-software.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null}},"created_at":"2021-03-18T07:46:55.000Z","updated_at":"2025-02-14T16:57:33.000Z","dependencies_parsed_at":"2023-02-15T06:31:51.482Z","dependency_job_id":null,"html_url":"https://github.com/philips-software/inner-source-checkout-action","commit_stats":{"total_commits":38,"total_committers":10,"mean_commits":3.8,"dds":0.736842105263158,"last_synced_commit":"7ac80fe2a9fc1b98ff7609a2f2bf7c18f654bcf0"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/philips-software/inner-source-checkout-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philips-software%2Finner-source-checkout-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philips-software%2Finner-source-checkout-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philips-software%2Finner-source-checkout-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philips-software%2Finner-source-checkout-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philips-software","download_url":"https://codeload.github.com/philips-software/inner-source-checkout-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philips-software%2Finner-source-checkout-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276709849,"owners_count":25690575,"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","status":"online","status_checked_at":"2025-09-24T02:00:09.776Z","response_time":97,"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":[],"created_at":"2024-11-17T18:24:55.335Z","updated_at":"2025-09-28T10:30:33.968Z","avatar_url":"https://github.com/philips-software.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Inner source repository checkout action\n\nThis action allows you to clone a list of inner source (internal ) repositories by providing an app token that has read access to the repositories. The action allows you to easily use private actions in almost the same way as public ones,  executing a shallow clone for a specific ref.\n\n\n## Inputs\n\n| parameter    | description                                                                 | required | default  |\n| ------------ | --------------------------------------------------------------------------- | -------- | -------- |\n| token        | App installation or PAT token that have read access to action repositories. | `true`   |          |\n| repos        | A comma separated list of actions repos (owner/repo)                        | `true`   |          |\n| base_dir     | base dir for cloning actions                                                | `false`  | .actions |\n| full_history | checkout repository with full history or only the HEAD                      | `false`  | false    |\n\n## Runs\n\nThis action is an `node16` action.\n\n\n## Usages\n\n### Setup\n\nWe recommend using a GitHub [app installation token](https://docs.github.com/en/developers/apps/authenticating-with-github-apps) instead of a PAT.\n\n1. Create a GitHub app token for your org.\n2. Grant read access to content in the repository section.\n3. Install the app in your internal action repositories.\n\n### Workflows\n\nBelow is an example snippet of a workflow to setup and run your inner source actions.\n\n```yaml\n\njobs:\n  job1:\n\n    runs-on: ...\n    steps:\n\n      # Setup private actions\n      - name: Get Token\n        id: token\n        uses: philips-software/app-token-action@v1.1.2\n        with:\n          app_id: \u003capp_id\u003e\n          app_base64_private_key: ${{ secrets.APPLICATION_PRIVATE_KEY_BASE64 }}\n          auth_type: 'installation'\n\n      - uses: philips-software/inner-source-checkout-action@1.3.0\n        with:\n          token: ${{ steps.token.outputs.token }}\n          base_dir: .actions\n          repos: org/repo1@version, org/repo2@version\n\n      # Use your private actions\n      - uses: ./.actions/org/repo2\n\n      - uses: ./.actions/org/repo1\n        with:\n          param1: value1\n\n\n```\n\n## Development\n\nStandard commands such as lint, test and build are available via yarn. Check [package.json] for more details.\n\n### Test locally\n\nRunning locally requires you to have an app installation token with read access to the action repo. Before running localy you must first set the following environment variables:\n\n- `INPUT_TOKEN` : access token\n- `INPUT_REPOS`: list of repos, eg owner/repo1, owner/repo2.\n- `INPUT_BASE_DIR`: for example `.actions`.\n- `INPUT_FULL_HISTORY`: for example `true`.\n\n```\nINPUT_TOKEN=\u003ctoken\u003e\nINPUT_REPOS=philips-internal/fastlane-action@master\nINPUT_BASE_DIR=.actions\nINPUT_FULL_HISTORY=false\n```\n\n**Example:**\n\n```bash\nexport INPUT_TOKEN=philips-software\nexport INPUT_REPOS=philips-software/app-token-action\nexport INPUT_BASE_DIR=.actions\nexport INPUT_FULL_HISTORY=false\nyarn watch\n```\n\n## Contribution\n\nWe welcome contributions, please checkout the [contribution guide](CONTRIBUTING.md).\n\n\n## License\n\nThis project is released under the [MIT License](./LICENSE).\n\n## Philips Forest\n\nThis module is part of the Philips Forest.\n\n```\n                                                     ___                   _\n                                                    / __\\__  _ __ ___  ___| |_\n                                                   / _\\/ _ \\| '__/ _ \\/ __| __|\n                                                  / / | (_) | | |  __/\\__ \\ |_\n                                                  \\/   \\___/|_|  \\___||___/\\__|\n\n                                                                            CI\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilips-software%2Finner-source-checkout-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilips-software%2Finner-source-checkout-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilips-software%2Finner-source-checkout-action/lists"}