Skip to content

Commit 56d16ec

Browse files
authored
Merge pull request #14 from Trepp/main
chore: publish v1.1.0
2 parents 18eff1b + d65f0ec commit 56d16ec

File tree

9 files changed

+269
-132
lines changed

9 files changed

+269
-132
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ After the action runs new png images will be created for any *.wsq files in the
2929
* vs2010
3030
* patent
3131

32+
### `commitFiles`
33+
34+
**Optional** Flag (true, false) to indicate if any new or changed files should automatically be committed.
35+
3236
## Quickstart Development on the Action
3337

3438
If you are new, there's also a simpler introduction. See the [Hello World JavaScript Action](https://github.com/actions/hello-world-javascript-action)

__tests__/github.test.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import {commitFiles} from '../src/github'
2+
3+
test('runs git commands', async () => {
4+
await expect(commitFiles()).resolves.not.toThrow()
5+
})

action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ inputs:
99
required: false
1010
description: Style to use
1111
default: default
12+
commitChanges:
13+
required: false
14+
description: bool to indicate if action should commit changes automatically
15+
default: 'false'
1216
runs:
1317
using: 'node12'
1418
main: 'dist/index.js'

dist/index.js

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

dist/index.js.map

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

0 commit comments

Comments
 (0)