Skip to content

Commit

Permalink
Merge pull request itpp-labs#48 from trojikman/master-workflow-update
Browse files Browse the repository at this point in the history
fix indent
  • Loading branch information
yelizariev authored Nov 20, 2020
2 parents 7c8dece + 7f9b5d7 commit bbbd416
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion static-files/all/.github/workflows/DINAR-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
repository: REPO
commit_user_name: Mitchell Admin
commit_user_email: [email protected]
# Commit may contain other updates, but in usual flow it's only module list
# Commit may contain other updates, but in usual flow it's only module list.
commit_message: |
:construction_worker_man: Update module list
Expand Down
8 changes: 6 additions & 2 deletions workflow-files/generate-repo-readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,16 @@ def main(token, repository, branch):
"# [{}] {}".format(branch, title),
"",
]

lines_modules = []
for m, _data in modules.items():
lines.append(
"<br/>:heavy_check_mark: [{module}](https://apps.odoo.com/apps/modules/{branch}/{module}/)".format(
lines_modules.append(
":heavy_check_mark: [{module}](https://apps.odoo.com/apps/modules/{branch}/{module}/)".format(
module=m, branch=branch
)
)
lines.append("\n<br/>".join(lines_modules))

lines += [
"",
"Other Addons",
Expand Down

0 comments on commit bbbd416

Please sign in to comment.