Skip to content

Commit 09016e9

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4f4098f commit 09016e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/update-resource-gallery.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,15 +93,15 @@ jobs:
9393
9494
submission_file = 'resource-gallery-submission-input.json'
9595
resource_gallery_file = 'portal/resource_gallery.yaml'
96-
96+
9797
with open(submission_file, 'r') as file:
9898
new_data = json.load(file)
9999
100100
with open(resource_gallery_file, 'r') as yaml_file:
101101
existing_data = yaml.load(yaml_file) or []
102-
102+
103103
existing_data.append(new_data)
104-
104+
105105
with open(resource_gallery_file, 'w') as yaml_file:
106106
yaml.dump(existing_data, yaml_file, default_flow_style=False)
107107

0 commit comments

Comments
 (0)