Skip to content

Commit 0784203

Browse files
authored
feature: fix python syntax
1 parent e116576 commit 0784203

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

action.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ runs:
107107
except FileNotFoundError:
108108
data = {}
109109
110-
if(data == {})
110+
if(data == {}):
111111
try:
112112
with open("publiccode.yml", "r" as f:
113113
data = yaml.safe_load(f)
@@ -218,23 +218,23 @@ runs:
218218
except FileNotFoundError:
219219
data = {}
220220
221-
if(data == {})
221+
if(data == {}):
222222
try:
223223
with open("openCatalogi.yaml", "r") as f:
224224
data = yaml.safe_load(f)
225225
filename = "openCatalogi.yaml"
226226
except FileNotFoundError:
227227
data = data
228228
229-
if(data == {})
229+
if(data == {}):
230230
try:
231231
with open("opencatalogi.yml", "r") as f:
232232
data = yaml.safe_load(f)
233233
filename = "opencatalogi.yml"
234234
except FileNotFoundError:
235235
data = data
236236
237-
if(data == {})
237+
if(data == {}):
238238
try:
239239
with open("openCatalogi.yml", "r") as f:
240240
data = yaml.safe_load(f)
@@ -284,14 +284,14 @@ runs:
284284
git commit -m "${{ inputs.git-commit-message }}" || echo "No changes to commit"
285285
git push
286286
# Post Repository URL to OpenCatalogi API
287-
- name: Post Repository URL to OpenCatalogi API
288-
shell: bash
289-
run: |
290-
curl -X POST "https://api.opencatalogi.nl/api/github_events" \
291-
-H "Content-Type: application/json" \
292-
-d '{
293-
"repository": {
294-
"html_url": "'${{ github.event.repository.html_url }}'"
295-
}
296-
}'
287+
# - name: Post Repository URL to OpenCatalogi API
288+
# shell: bash
289+
# run: |
290+
# curl -X POST "https://api.opencatalogi.nl/api/github_events" \
291+
# -H "Content-Type: application/json" \
292+
# -d '{
293+
# "repository": {
294+
# "html_url": "'${{ github.event.repository.html_url }}'"
295+
# }
296+
# }'
297297

0 commit comments

Comments
 (0)