-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from husarion/2.0.3-20240606
Release 2.0.3 to ros2
- Loading branch information
Showing
6 changed files
with
149 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json | ||
language: "en-US" | ||
early_access: false | ||
reviews: | ||
profile: "chill" | ||
request_changes_workflow: false | ||
high_level_summary: true | ||
poem: false | ||
review_status: true | ||
collapse_walkthrough: false | ||
auto_review: | ||
enabled: true | ||
drafts: false | ||
base_branches: | ||
- "ros2-devel" | ||
chat: | ||
auto_reply: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: ROS2 test build | |
on: | ||
push: | ||
branches: | ||
- 'ros2' | ||
- "ros2" | ||
|
||
jobs: | ||
colcon-test-build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Validate PR head branch | ||
on: | ||
pull_request: | ||
branches: | ||
- "ros2" | ||
|
||
jobs: | ||
check-head-branch: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check allowed branches | ||
run: | | ||
pattern="^[0-9]+\.[0-9]+\.[0-9]+-[0-9]{8}$" # This regex matches the X.X.X-YYYYMMDD pattern | ||
if [[ "${{ github.head_ref }}" == *"hotfix"* ]]; then | ||
echo "PR from a branch containing 'hotfix' is allowed." | ||
exit 0 | ||
elif [[ "${{ github.head_ref }}" =~ $pattern ]]; then | ||
echo "PR from a branch matching X.X.X-YYYYMMDD pattern is allowed." | ||
exit 0 | ||
else | ||
echo "PRs must come from branches containing 'hotfix' phrase or matching X.X.X-YYYYMMDD pattern." | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters