File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import * as github from '@actions/github'
33import { exec } from '@actions/exec'
44import { execSync } from 'child_process'
55import sqlite3 from 'sqlite3'
6- import { open } from 'sqlite'
6+ import { open } from 'sqlite'
77
88const dbfile = 'github-archive.db'
99const events = [
@@ -17,7 +17,7 @@ async function run(): Promise<void> {
1717 core . info (
1818 '[INFO] Usage https://github.com/githubocto/github-archive-action#readme'
1919 )
20- core . core . startGroup ( 'Setup' )
20+ core . startGroup ( 'Setup' )
2121 // Configure git user/email
2222 const username = 'github-archive-action'
2323 await exec ( 'git' , [ 'config' , 'user.name' , username ] )
@@ -73,7 +73,7 @@ async function run(): Promise<void> {
7373 }
7474 await db . run ( 'INSERT INTO events (kind, event) values (:e, :payload)' , {
7575 e,
76- github. context . payload ,
76+ payload : github . context . payload ,
7777 } )
7878 core . info ( `Captured ${ e } event` )
7979 }
You can’t perform that action at this time.
0 commit comments