Skip to content

Commit

Permalink
Add job to auto-update pre-commit config file
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Apr 7, 2024
1 parent 420c096 commit e3af1e2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/update-pre-commit.yml
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

0 comments on commit e3af1e2

Please sign in to comment.