File tree Expand file tree Collapse file tree 3 files changed +266
-268
lines changed Expand file tree Collapse file tree 3 files changed +266
-268
lines changed Original file line number Diff line number Diff line change @@ -74,10 +74,14 @@ jobs:
74
74
else
75
75
git checkout coverage
76
76
fi
77
+ commit_hash=${GITHUB_SHA::8}
78
+ commit_link="[$commit_hash](https://github.com/$GITHUB_REPOSITORY/tree/$commit_hash)"
77
79
echo "[](https://github.com/$GITHUB_REPOSITORY/actions/workflows/test_summary.yml)" > ./README.md
78
80
echo -e ${{ steps.coverageComment.outputs.summaryReport }} >> ./README.md
79
- echo "ℹ️ **Note**: " >> ./README.md
81
+ echo -e "ℹ️ **Note**: \n" >> ./README.md
82
+ echo -e "Commit: $commit_link\n" >> ./README.md
80
83
echo "Click on the `test summary` badge above to see the results of running pytest on multiple hosts." >> ./README.md
84
+
81
85
- name : Commit
82
86
if : ${{ steps.is_main.outputs.flag == '1' }}
83
87
run : |
You can’t perform that action at this time.
0 commit comments