Skip to content

Commit ebb6ba7

Browse files
authored
Update comment signature (#23)
1 parent b9edd24 commit ebb6ba7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

bin/action.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/postOrUpdateComment.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ export async function postOrUpdateComment(
3636

3737
const comment = {
3838
...commentInfo,
39-
body: commentMarkdown + "\n\n<sub>firebase-hosting-preview-action</sub>",
39+
body:
40+
commentMarkdown +
41+
"\n\n<sub>[Firebase Hosting GitHub Action](https://github.com/marketplace/actions/deploy-to-firebase-hosting)</sub>",
4042
};
4143

4244
startGroup(`Updating PR comment`);
@@ -47,7 +49,7 @@ export async function postOrUpdateComment(
4749
const c = comments[i];
4850
if (
4951
c.user.type === "Bot" &&
50-
/<sub>[\s\n]*firebase-hosting-preview-action/.test(c.body)
52+
/<sub>[\s\n]*\[Firebase Hosting GitHub Action/.test(c.body)
5153
) {
5254
commentId = c.id;
5355
break;

0 commit comments

Comments
 (0)