mirror of
https://github.com/dessant/lock-threads.git
synced 2026-03-13 01:27:03 -04:00
@@ -1,2 +1,4 @@
|
||||
singleQuote: true
|
||||
bracketSpacing: false
|
||||
arrowParens: 'avoid'
|
||||
trailingComma: 'none'
|
||||
|
||||
3368
package-lock.json
generated
3368
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
14
package.json
14
package.json
@@ -20,16 +20,16 @@
|
||||
"release": "standard-version"
|
||||
},
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.2.2",
|
||||
"@actions/github": "^2.1.0",
|
||||
"@hapi/joi": "^17.1.0",
|
||||
"@actions/core": "^1.2.4",
|
||||
"@actions/github": "^4.0.0",
|
||||
"@hapi/joi": "^17.1.1",
|
||||
"decamelize": "^4.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@zeit/ncc": "^0.21.1",
|
||||
"npm-check-updates": "^4.0.1",
|
||||
"prettier": "^1.19.1",
|
||||
"standard-version": "^7.1.0"
|
||||
"@zeit/ncc": "^0.22.3",
|
||||
"npm-check-updates": "^7.0.1",
|
||||
"prettier": "^2.0.5",
|
||||
"standard-version": "^8.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12.0.0"
|
||||
|
||||
@@ -7,7 +7,7 @@ const schema = require('./schema');
|
||||
async function run() {
|
||||
try {
|
||||
const config = getConfig();
|
||||
const client = new github.GitHub(config.githubToken);
|
||||
const client = github.getOctokit(config.githubToken);
|
||||
|
||||
const app = new App(config, client);
|
||||
await app.lockThreads();
|
||||
|
||||
Reference in New Issue
Block a user