Skip to content
This repository was archived by the owner on Sep 13, 2025. It is now read-only.

Commit 293357a

Browse files
committed
Merge remote-tracking branch 'origin/master' into v3
2 parents 81cf33b + 8d62244 commit 293357a

File tree

5 files changed

+39
-34
lines changed

5 files changed

+39
-34
lines changed

__tests__/client.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ describe('8398a7/action-slack', () => {
525525
}`),
526526
).toStrictEqual({
527527
text: `<https://github.com/8398a7/action-slack/commit/b24f03a32e093fe8d55e23cfd0bb314069633b2f/checks|PR Checks>
528-
<https://github.com/8398a7/action-slack/runs/762195612|notification> (<https://github.com/8398a7/action-slack/commit/b24f03a32e093fe8d55e23cfd0bb314069633b2f|b24f03a3>) of <https://github.com/8398a7/action-slack|8398a7/action-slack>@master by 839<8398a7@gmail.com> succeeded in 1 hour 1 min 1 sec`,
528+
<https://github.com/8398a7/action-slack/runs/762195612|notification> (<https://github.com/8398a7/action-slack/commit/b24f03a32e093fe8d55e23cfd0bb314069633b2f|b24f03a3>) of <https://github.com/8398a7/action-slack|8398a7/action-slack>@master by 839 <8398a7@gmail.com> succeeded in 1 hour 1 min 1 sec`,
529529
});
530530
});
531531
});

__tests__/helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export const commit = (): Field => {
127127
};
128128

129129
export const author = (): Field => {
130-
return { short: true, title: 'author', value: '839<8398a7@gmail.com>' };
130+
return { short: true, title: 'author', value: '839 <8398a7@gmail.com>' };
131131
};
132132

133133
export const eventName = (): Field => {

package-lock.json

Lines changed: 35 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "action-slack",
3-
"version": "3.17.0",
3+
"version": "3.18.0",
44
"description": "You can notify slack of GitHub Actions.",
55
"main": "lib/main.js",
66
"scripts": {

src/fields.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export class FieldFactory {
100100
const resp = await this.getCommit(this.octokit);
101101
const author = resp.data.commit.author;
102102

103-
const value = `${author?.name}<${author?.email}>`;
103+
const value = `${author?.name} <${author?.email}>`;
104104
process.env.AS_AUTHOR = value;
105105
return value;
106106
}

0 commit comments

Comments
 (0)