forked from ros-controls/ros2_control_demos
-
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.
🔧 use pre-commit workflow from ros2_control_ci (ros-controls#458)
* Use new pre-commit wf from ros2_control_ci * Update pre-commit config * Fix license text in contributing.md * Add update-pre-commit
- Loading branch information
1 parent
d472f5e
commit 7dc41df
Showing
8 changed files
with
87 additions
and
111 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,14 @@ | ||
name: Pre-Commit - Humble | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- humble | ||
|
||
jobs: | ||
pre-commit: | ||
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-pre-commit.yml@master | ||
with: | ||
ros_distro: humble | ||
os_name: ubuntu-22.04 |
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,14 @@ | ||
name: Pre-Commit - Iron | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- iron | ||
|
||
jobs: | ||
pre-commit: | ||
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-pre-commit.yml@master | ||
with: | ||
ros_distro: iron | ||
os_name: ubuntu-22.04 |
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,14 @@ | ||
name: Pre-Commit - Rolling | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
pre-commit: | ||
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-pre-commit.yml@master | ||
with: | ||
ros_distro: rolling | ||
os_name: ubuntu-22.04 |
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,12 @@ | ||
name: Auto Update pre-commit | ||
# Update pre-commit config and create PR if changes are detected | ||
# author: Christoph Fröhlich <[email protected]> | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 0 * * 0' # Run every Sunday at midnight | ||
|
||
jobs: | ||
auto_update_and_create_pr: | ||
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-update-pre-commit.yml@master |
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