Skip to content

Commit 8df0043

Browse files
committed
Remove half baked dry run functionality
1 parent bb07e07 commit 8df0043

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

pr-checks/sync_back.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ def update_template_files(checks_dir: str, action_versions: Dict[str, str]) -> L
137137

138138
def main():
139139
parser = argparse.ArgumentParser(description="Sync action versions from generated workflows back to templates")
140-
parser.add_argument("--dry-run", action="store_true", help="Show what would be changed without making changes")
141140
parser.add_argument("--verbose", "-v", action="store_true", help="Enable verbose output")
142141
args = parser.parse_args()
143142

@@ -161,11 +160,6 @@ def main():
161160
print("No action versions found in generated workflows")
162161
return 1
163162

164-
if args.dry_run:
165-
print("\nDRY RUN - Would make the following changes:")
166-
print(f"Action versions to sync: {action_versions}")
167-
return 0
168-
169163
# Update files
170164
print("\nUpdating source files...")
171165
modified_files = []

0 commit comments

Comments
 (0)