Skip to content

Commit

Permalink
(Feat): Add git submodule action
Browse files Browse the repository at this point in the history
  • Loading branch information
pat-trunk-io committed Aug 28, 2024
1 parent 5e879d5 commit b5188d5
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 b5188d5

Please sign in to comment.