Skip to content

Commit

Permalink
(Feat): Add git submodule action (#856)
Browse files Browse the repository at this point in the history
Add hook to update submodule on git hooks
  • Loading branch information
pat-trunk-io authored Aug 29, 2024
1 parent 5e879d5 commit 1d8745c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions actions/submodules/plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 0.1
actions:
definitions:
- id: submodule-init-update
display_name: Submodule Init Update
description: Git hook for updating submodules
run: git submodule update --init --recursive
triggers:
- git_hooks: [post-checkout, post-merge, pre-rebase]
notify_on_error: false

0 comments on commit 1d8745c

Please sign in to comment.