Skip to content

Commit ffb10a6

Browse files
committed
fix(tools/aws_ami_mirror.py, ci:copy-ami): add a newline to the bottom of the resulting MD file
Search PR number case insensitive for almalinux/wiki repository
1 parent f48603c commit ffb10a6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/copy-ami.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ jobs:
239239
exit 1
240240
fi
241241
242-
echo "WIKI_PR_URL=$( grep '${{ env.wiki_repo }}/pull/' gh_pr_create.log )" >> $GITHUB_ENV
242+
echo "WIKI_PR_URL=$( grep -i '${{ env.wiki_repo }}/pull/' gh_pr_create.log )" >> $GITHUB_ENV
243243
244244
- name: Print PR summary
245245
uses: actions/github-script@v7

tools/aws_ami_mirror.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ def main(sys_args):
342342
md_rows.append(row)
343343
with open(args.md_output, "w") as fd:
344344
fd.write(str(markdown_table.Table(md_header, md_rows)))
345+
fd.write("\n")
345346

346347

347348
if __name__ == "__main__":

0 commit comments

Comments
 (0)