From e3af1e2d3998cfa58687b59dfd6ad4b8d77978ae Mon Sep 17 00:00:00 2001 From: Christoph Froehlich Date: Sun, 7 Apr 2024 18:15:44 +0000 Subject: [PATCH] Add job to auto-update pre-commit config file --- .github/workflows/update-pre-commit.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/update-pre-commit.yml diff --git a/.github/workflows/update-pre-commit.yml b/.github/workflows/update-pre-commit.yml new file mode 100644 index 00000000..8b9545df --- /dev/null +++ b/.github/workflows/update-pre-commit.yml @@ -0,0 +1,12 @@ +name: Auto Update pre-commit +# Update pre-commit config and create PR if changes are detected +# author: Christoph Fröhlich + +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