From b5188d5d3474fefbf732f9afc2b2ef9097c5302d Mon Sep 17 00:00:00 2001 From: Patrice Boisclair-Laberge Date: Wed, 28 Aug 2024 15:02:54 +0000 Subject: [PATCH] (Feat): Add git submodule action --- actions/submodules/plugin.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 actions/submodules/plugin.yaml diff --git a/actions/submodules/plugin.yaml b/actions/submodules/plugin.yaml new file mode 100644 index 000000000..dcae26219 --- /dev/null +++ b/actions/submodules/plugin.yaml @@ -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