aboutsummaryrefslogtreecommitdiff
path: root/autogpts/autogpt/hooks/post-rewrite
diff options
context:
space:
mode:
authorGravatar Reinier van der Leer <pwuts@agpt.co> 2024-01-29 18:29:24 +0100
committerGravatar GitHub <noreply@github.com> 2024-01-29 18:29:24 +0100
commit575be818ca1f7c644e2adf94c584772547141f55 (patch)
treeabb052ae787b1107c9dff8fb4d86ee84842d515d /autogpts/autogpt/hooks/post-rewrite
parentUpdate ossf-scorecard.yml (diff)
parentfix(agent/json_utils): Make `extract_dict_from_response` more robust (diff)
downloadAuto-GPT-security/analysis-workflows-sandbox.tar.gz
Auto-GPT-security/analysis-workflows-sandbox.tar.bz2
Auto-GPT-security/analysis-workflows-sandbox.zip
Merge branch 'master' into security/analysis-workflows-sandboxsecurity/analysis-workflows-sandbox
Diffstat (limited to 'autogpts/autogpt/hooks/post-rewrite')
-rw-r--r--autogpts/autogpt/hooks/post-rewrite4
1 files changed, 4 insertions, 0 deletions
diff --git a/autogpts/autogpt/hooks/post-rewrite b/autogpts/autogpt/hooks/post-rewrite
new file mode 100644
index 000000000..13304744e
--- /dev/null
+++ b/autogpts/autogpt/hooks/post-rewrite
@@ -0,0 +1,4 @@
+#!/bin/sh
+case "$1" in
+ rebase) git submodule update --init --recursive ;;
+esac