We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f8abe9 commit 3824712Copy full SHA for 3824712
1 file changed
src/main.ts
@@ -67,7 +67,7 @@ async function run(): Promise<void> {
67
const payload = core.getInput(e)
68
if (payload === '') {
69
// no event
70
- return
+ continue
71
}
72
await db.run('INSERT INTO events (kind, event) values (:e, :payload)', {
73
e,
@@ -81,7 +81,7 @@ async function run(): Promise<void> {
81
await db.close()
82
await exec('git', ['add', dbfile])
83
await exec('git', ['commit', '-m', 'Adding data to repo'])
84
- await exec('git', ['push'])
+ await exec('git', ['push', 'origin', branch])
85
core.endGroup()
86
87
0 commit comments