Skip to content

Commit 2974c10

Browse files
authored
fix: link "build status" badge to test action filtered by master branch
1 parent 6a1f6d4 commit 2974c10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/create-readme.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ async function createReadme({
3434

3535
if (addBadges) {
3636
content += `[![@latest](https://img.shields.io/npm/v/${packageName}.svg)](https://www.npmjs.com/package/${packageName})
37-
[![Build Status](https://github.com/${repository}/workflows/Test/badge.svg)](https://github.com/${repository}/actions?workflow=Test)
37+
[![Build Status](https://github.com/${repository}/workflows/Test/badge.svg)](https://github.com/${repository}/actions?query=workflow%3ATest+branch%3Amaster)
3838
[![Greenkeeper](https://badges.greenkeeper.io/${repository}.svg)](https://greenkeeper.io/)
3939
4040
`;

0 commit comments

Comments
 (0)