Skip to content

Commit

Permalink
Rename the https://github.com/ros2/ros2 branch to 'rolling'. (#761)
Browse files Browse the repository at this point in the history
That is the new default, so follow it here.

Signed-off-by: Chris Lalancette <[email protected]>
  • Loading branch information
clalancette authored Jul 15, 2022
1 parent 08526fc commit e0eeca0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions __tests__/ros-ci.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,15 @@ Description of the changes.
Blah blah.
action-ros-ci-repos-override:
action-ros-ci-repos-override: https://raw.githubusercontent.com/ros2/ros2/master/ros2.repos
action-ros-ci-repos-override: https://raw.githubusercontent.com/ros2/ros2/rolling/ros2.repos
action-ros-ci-repos-override : https://some.website.repos
action-ros-ci-repos-override: https://gist.github.com/some-user/some-gist.repos
action-ros-ci-repos-supplemental:https://gist.github.com/some-user/some-other-gist.repos
action-ros-ci-repos-supplemental: file://path/to/some/file.txt
`;
payload = { pull_request: { body: body } };
const expectedOverride = [
"https://raw.githubusercontent.com/ros2/ros2/master/ros2.repos",
"https://raw.githubusercontent.com/ros2/ros2/rolling/ros2.repos",
"https://gist.github.com/some-user/some-gist.repos",
];
const expectedSupplemental = [
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ inputs:
Repo file URL passed to vcs to initialize the colcon workspace.
The URL may point to a local file, such as file://path/to/file.txt.
For example, for ROS 2 Rolling source repositories, use:
https://raw.githubusercontent.com/ros2/ros2/master/ros2.repos
https://raw.githubusercontent.com/ros2/ros2/rolling/ros2.repos
default: ""
skip-tests:
default: ""
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13662,7 +13662,7 @@ run();
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getReposFilesSupplemental = exports.getReposFilesOverride = void 0;
// Expecting something like:
// action-ros-ci-repos-override: https://raw.githubusercontent.com/ros2/ros2/master/ros2.repos
// action-ros-ci-repos-override: https://raw.githubusercontent.com/ros2/ros2/rolling/ros2.repos
const REGEX_REPOS_FILES_OVERRIDE = /action-ros-ci-repos-override:[ ]*([\S]+)/g;
const REGEX_REPOS_FILES_SUPPLEMENTAL = /action-ros-ci-repos-supplemental:[ ]*([\S]+)/g;
/**
Expand Down
2 changes: 1 addition & 1 deletion src/dependencies.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { WebhookPayload } from "@actions/github/lib/interfaces";

// Expecting something like:
// action-ros-ci-repos-override: https://raw.githubusercontent.com/ros2/ros2/master/ros2.repos
// action-ros-ci-repos-override: https://raw.githubusercontent.com/ros2/ros2/rolling/ros2.repos
const REGEX_REPOS_FILES_OVERRIDE = /action-ros-ci-repos-override:[ ]*([\S]+)/g;
const REGEX_REPOS_FILES_SUPPLEMENTAL =
/action-ros-ci-repos-supplemental:[ ]*([\S]+)/g;
Expand Down

0 comments on commit e0eeca0

Please sign in to comment.