File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -1969,8 +1969,10 @@ export default class OtomiStack {
19691969 try {
19701970 // Commit and push Git changes
19711971 await this . git . save ( this . editor ! , encryptSecrets , files )
1972+ // Pull the latest changes to ensure we have the most recent state
1973+ await rootStack . git . git . pull ( )
19721974
1973- // Execute the provided action dynamically
1975+ // Update the team configuration of the root stack
19741976 action ( rootStack . repoService . getTeamConfigService ( teamId ) )
19751977
19761978 debug ( `Updated root stack values with ${ this . sessionId } changes` )
@@ -1993,8 +1995,9 @@ export default class OtomiStack {
19931995 try {
19941996 // Commit and push Git changes
19951997 await this . git . save ( this . editor ! , encryptSecrets , files )
1996-
1997- // Execute the provided action dynamically
1998+ // Pull the latest changes to ensure we have the most recent state
1999+ await rootStack . git . git . pull ( )
2000+ // update the repo configuration of the root stack
19982001 action ( rootStack . repoService )
19992002
20002003 debug ( `Updated root stack values with ${ this . sessionId } changes` )
You can’t perform that action at this time.
0 commit comments