{"id":22735304,"url":"https://github.com/ichiro-its/ros2-ci","last_synced_at":"2026-03-12T03:32:37.852Z","repository":{"id":44114873,"uuid":"344690890","full_name":"ichiro-its/ros2-ci","owner":"ichiro-its","description":"Build and test your ROS 2 project using GitHub Actions.","archived":false,"fork":false,"pushed_at":"2022-08-01T11:11:02.000Z","size":87,"stargazers_count":15,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-02-16T10:27:00.664Z","etag":null,"topics":["actions","colcon","continuous-integration","docker","github-actions","ros","ros2"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/ros-2-ci","language":"Shell","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/ichiro-its.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-05T04:11:09.000Z","updated_at":"2025-08-06T03:00:23.000Z","dependencies_parsed_at":"2023-01-11T17:22:32.155Z","dependency_job_id":null,"html_url":"https://github.com/ichiro-its/ros2-ci","commit_stats":{"total_commits":41,"total_committers":2,"mean_commits":20.5,"dds":0.07317073170731703,"last_synced_commit":"765eae02835f008667c50245bfd4bf44ee5708ce"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/ichiro-its/ros2-ci","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ichiro-its%2Fros2-ci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ichiro-its%2Fros2-ci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ichiro-its%2Fros2-ci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ichiro-its%2Fros2-ci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ichiro-its","download_url":"https://codeload.github.com/ichiro-its/ros2-ci/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ichiro-its%2Fros2-ci/sbom","scorecard":{"id":480297,"data":{"date":"2025-08-11","repo":{"name":"github.com/ichiro-its/ros2-ci","commit":"765eae02835f008667c50245bfd4bf44ee5708ce"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.8,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/workflows-test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/workflows-test.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/ichiro-its/ros2-ci/workflows-test.yml/master?enable=pin","Warn: containerImage not pinned by hash: dind/Dockerfile:1: pin your Docker image by updating docker:dind to docker:dind@sha256:c0872aae4791ff427e6eda52769afa04f17b5cf756f8267e0d52774c99d5c9de","Warn: containerImage not pinned by hash: dind/ros2/Dockerfile:3","Warn: pipCommand not pinned by hash: dind/ros2/entrypoint.bash:34","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned","Info:   0 out of   1 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T16:26:09.882Z","repository_id":44114873,"created_at":"2025-08-19T16:26:09.882Z","updated_at":"2025-08-19T16:26:09.882Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30414317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T00:40:14.898Z","status":"online","status_checked_at":"2026-03-12T02:00:07.260Z","response_time":114,"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","colcon","continuous-integration","docker","github-actions","ros","ros2"],"created_at":"2024-12-10T21:08:56.314Z","updated_at":"2026-03-12T03:32:37.829Z","avatar_url":"https://github.com/ichiro-its.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ROS 2 Continuous Integration\n\n[![latest version](https://img.shields.io/github/v/release/ichiro-its/ros2-ci)](https://github.com/ichiro-its/ros2-ci/releases/)\n[![commits since latest version](https://img.shields.io/github/commits-since/ichiro-its/ros2-ci/latest)](https://github.com/ichiro-its/ros2-ci/releases/)\n[![license](https://img.shields.io/github/license/ichiro-its/ros2-ci)](./LICENSE)\n[![test status](https://img.shields.io/github/workflow/status/ichiro-its/ros2-ci/Workflows%20Test?label=test)](https://github.com/ichiro-its/ros2-ci/actions)\n\nThis action could be used as a [continuous integration (CI)](https://en.wikipedia.org/wiki/Continuous_integration) to build and test a [ROS 2](https://docs.ros.org/en/foxy/) project.\n\n\u003e **Warn!** this action is no longer in development and will be discontinued.\n\u003e Further development of build and test action for a ROS 2 project will be continued on [ROS 2 Build and Test Action](https://github.com/ichiro-its/ros2-build-and-test-action).\n\n## How It Works?\n\nThis action works by building and testing a ROS 2 project inside a [Docker](https://www.docker.com/)'s container using the [official ROS 2 Docker image](https://hub.docker.com/_/ros).\nTo handle which ROS 2 environment to be used, this action uses a [Docker in Docker (DinD)](https://hub.docker.com/_/docker).\nHence the CI process happens inside the container's container, not just the first layer of the Docker's container for GitHub Actions.\nAlthough, The CI process is guaranteed to be fast (approximately 3-5 minutes, depends on each package) as almost every component of the ROS 2 has already been installed inside the Docker's image.\n\nTo be able to build and test the project inside the repository, This action requires the [Checkout](https://github.com/marketplace/actions/checkout) action.\nBefore the build process, the project files will be put under the `/ws/repo` directory inside the container.\nThen, the build and test process will be done using [colcon](https://colcon.readthedocs.io/en/released/index.html) inside the `/ws` directory.\nAfter the test process happens, the build results (`build`, `install`, and `log`) will be copied inside the `/ws/repo/.ws`.\n\nThe drawback of using this action is it still needs to install external dependencies that haven't been included in the ROS 2 default installation.\nBut that problem could be solved by adding a `apt-packages` or a `pip-packages` input inside the action configuration (see [this](#Install-Several-Dependencies)) or by cloning external packages inside the `/ws` directory before the build process happens (see [this](#Include-External-repositories)).\n\n## Usage\n\nFor more information, see [action.yml](./action.yml) and the [GitHub Actions guide](https://docs.github.com/en/actions/learn-github-actions/introduction-to-github-actions).\n\n### Default Usage\n\n```yaml\nname: Build and Test\non:\n  pull_request:\n    branches: [ main ]\n  push:\n    branches: [ main ]\njobs:\n  build-and-test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checking out\n        uses: actions/checkout@v2.3.4\n      - name: Building and testing\n        uses: ichiro-its/ros2-ci@v1.0.0\n```\n\u003e This will be defaulted to use [ROS 2 Foxy Fitzroy](https://docs.ros.org/en/foxy/Releases/Release-Foxy-Fitzroy.html).\n\n### Using Different ROS 2 Distributin\n\n```yaml\n- name: Building and testing\n  uses: ichiro-its/ros2-ci@v1.0.0\n  with:\n    ros2-distro: rolling\n```\n\n### Install Several Dependencies\n\n```yaml\n- name: Building and testing\n  uses: ichiro-its/ros2-ci@v1.0.0\n  with:\n    apt-packages: libssh-dev libopencv-dev\n```\n\n### Run Command During the Process\n\n```yaml\n- name: Building and testing\n  uses: ichiro-its/ros2-ci@v1.0.0\n  with:\n    post-test: ls .ws\n```\n\n### Include External Repositories\n\n```yaml\n- name: Building and testing\n  uses: ichiro-its/ros2-ci@v1.0.0\n  with:\n    ros2-distro: foxy\n    external-repos: https://github.com/ros2/example_interfaces#foxy ros2/examples#foxy\n```\n\n## License\n\nThis project is maintained by [ICHIRO ITS](https://github.com/ichiro-its) and licensed under the [MIT License](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fichiro-its%2Fros2-ci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fichiro-its%2Fros2-ci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fichiro-its%2Fros2-ci/lists"}