Skip to content

Commit 2dec894

Browse files
committed
Adds readme to js-action's glob
The readme should be included in the tag as well. Otherwise when selecting an older version in the marketplace there is no readme displayed. See also here: JasonEtco/build-and-tag-action#18 (comment)
1 parent 047888a commit 2dec894

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/glob-patterns.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import fs from 'node:fs';
33
import type { Arguments } from './types';
44

55
const templates: Record<string, string[]> = {
6-
'composite-action': ['action.{yml,yaml}', 'LICENSE'],
7-
'javascript-action': ['action.{yml,yaml}', 'dist/**', 'LICENSE'],
6+
'composite-action': ['action.{yml,yaml}', 'LICENSE', 'README{,.md}'],
7+
'javascript-action': ['action.{yml,yaml}', 'dist/**', 'LICENSE', 'README{,.md}'],
88
};
99

1010
const extractNames = (input: string) =>

0 commit comments

Comments
 (0)