Skip to content

Commit 09e25c1

Browse files
author
Enda Phelan
committed
fix: do not execute git-chglog
1 parent ea668dc commit 09e25c1

File tree

3 files changed

+3
-19
lines changed

3 files changed

+3
-19
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ yarn-debug.log*
77
yarn-error.log*
88
lerna-debug.log*
99
/node_modules
10-
/lib
10+
/lib
11+
/hello

action.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,15 @@
11
name: 'git-chglog action'
22
description: 'GitHub Action for git-chglog. Anytime, anywhere, Write your CHANGELOG.'
3-
author: 'crazy-max'
3+
author: 'craicoverflow'
44
branding:
55
color: 'green'
66
icon: 'package'
77

88
inputs:
9-
tag_query:
10-
description: 'specify a range of tags to include in the CHANGELOG'
11-
required: false
129
version:
1310
description: 'git-chglog version'
1411
default: 'latest'
1512
required: false
16-
config:
17-
description: 'specifies a different configuration file to pick up'
18-
default: '.chglog/config.yml'
19-
required: false
20-
output:
21-
description: 'output path and filename for the changelogs. If not specified, output to stdout'
22-
required: false
23-
workdir:
24-
description: 'Working directory (below repository root)'
25-
default: '.'
26-
required: false
2713

2814
runs:
2915
using: 'node12'

src/main.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {getGitChglog} from './installer';
66
async function run(): Promise<void> {
77
try {
88
const version = core.getInput('version') || 'latest';
9-
const args = core.getInput('args');
109
const workdir = core.getInput('workdir') || '.';
1110
const gitChglog = await getGitChglog(version);
1211
core.info(`✅ git-chglog installed successfully`);
@@ -20,8 +19,6 @@ async function run(): Promise<void> {
2019
process.chdir(workdir);
2120
}
2221

23-
core.info('🏃 Running git-chglog...');
24-
await exec.exec(`${gitChglog} ${args}`);
2522
} catch (error) {
2623
core.setFailed(error.message);
2724
}

0 commit comments

Comments
 (0)