Skip to content

Commit

Permalink
remove uses and needs label for the arrows
Browse files Browse the repository at this point in the history
Signed-off-by: Charan-Sharan <[email protected]>
  • Loading branch information
Charan-Sharan committed Jul 19, 2024
1 parent ec5771e commit 63914f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/Actions-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ jobs:
else:
needs=list(needs.split(','))
for need in needs:
markdownFile.write(f"\n {need}({need}) --needs--> {job}({job})")
markdownFile.write(f"\n {need}({need}) ---> {job}({job})")
uses=jobs[job]['uses']
if uses!="":
uses=uses.split('/')[-1]
Expand All @@ -208,9 +208,9 @@ jobs:
inputs=inputs.replace('\"','') #remove " (double quotes)
inputs=inputs.replace("\'",'') #remove ' (single quotes)
if len(inputs)!=0:
markdownFile.write(f"\n {job}(\"{job}\ninputs:[{inputs}]\") --uses--> {uses}(\"{workflowDetails[uses]['name']}[{uses}]\")")
markdownFile.write(f"\n {job}(\"{job}\ninputs:[{inputs}]\") ---> {uses}(\"{workflowDetails[uses]['name']}[{uses}]\")")
else:
markdownFile.write(f"\n {job}({job}) --uses--> {uses}")
markdownFile.write(f"\n {job}({job}) ---> {uses}")
markdownFile.write('\n\n```\n\n')
Expand Down

0 comments on commit 63914f7

Please sign in to comment.