forked from tibdex/github-app-token
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies and support custom installation_id (tibdex#26)
- Loading branch information
Showing
13 changed files
with
2,011 additions
and
825 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,9 +7,9 @@ on: | |
jobs: | ||
publish: | ||
name: Publish | ||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/checkout@v2 | ||
- uses: dylanvann/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
The MIT License (MIT) | ||
Copyright (c) 2020 Thibault Derousseaux <[email protected]> | ||
Copyright (c) 2021 Thibault Derousseaux <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,34 @@ | ||
{ | ||
"name": "github-app-token", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"license": "MIT", | ||
"main": "dist/index.js", | ||
"files": [ | ||
"action.yml", | ||
"dist" | ||
], | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"build": "ncc build src/index.ts --minify --v8-cache", | ||
"check-prettier": "yarn run prettier --check", | ||
"eslint": "eslint --ignore-path .gitignore --max-warnings 0 \"./**/*.{js,ts}\"", | ||
"format-prettier": "yarn run prettier --write", | ||
"prettier": "prettier --ignore-path .gitignore \"./**/*.{js,json,md,ts,yml}\"" | ||
"build": "ncc build src/index.ts --minify --target es2018 --v8-cache", | ||
"prettier": "prettier --ignore-path .gitignore \"./**/*.{js,json,md,ts,yml}\"", | ||
"xo": "xo" | ||
}, | ||
"devDependencies": { | ||
"@actions/core": "^1.2.6", | ||
"@actions/github": "^4.0.0", | ||
"@octokit/auth-app": "^2.10.5", | ||
"@types/is-base64": "^1.1.0", | ||
"@types/node": "^14.14.14", | ||
"@typescript-eslint/eslint-plugin": "^4.10.0", | ||
"@typescript-eslint/parser": "^4.10.0", | ||
"@vercel/ncc": "^0.26.1", | ||
"eslint": "^7.16.0", | ||
"eslint-config-prettier": "^7.1.0", | ||
"eslint-config-xo": "^0.33.1", | ||
"eslint-config-xo-typescript": "^0.37.0", | ||
"eslint-import-resolver-typescript": "^2.3.0", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-sort-destructure-keys": "^1.3.5", | ||
"eslint-plugin-typescript-sort-keys": "^1.5.0", | ||
"eslint-plugin-unicorn": "^24.0.0", | ||
"@actions/core": "^1.6.0", | ||
"@actions/github": "^5.0.0", | ||
"@octokit/auth-app": "^3.6.1", | ||
"@octokit/request": "^5.6.2", | ||
"@types/is-base64": "^1.1.1", | ||
"@types/node": "^16.11.6", | ||
"@vercel/ncc": "^0.31.1", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-import": "^2.25.2", | ||
"eslint-plugin-sort-destructure-keys": "^1.4.0", | ||
"eslint-plugin-typescript-sort-keys": "^2.0.0", | ||
"is-base64": "^1.1.0", | ||
"prettier": "^2.2.1", | ||
"promise-retry": "^2.0.1", | ||
"typescript": "^4.1.3" | ||
"prettier": "^2.4.1", | ||
"prettier-plugin-packagejson": "^2.2.13", | ||
"typescript": "^4.4.4", | ||
"xo": "^0.46.4", | ||
"yarn-deduplicate": "^3.1.0" | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,5 +9,5 @@ | |
"target": "esnext", | ||
"types": ["node"] | ||
}, | ||
"include": [".*.js", "*.js", "src"] | ||
"include": ["src"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
"use strict"; | ||
|
||
module.exports = { | ||
extends: ["prettier"], | ||
overrides: [ | ||
{ | ||
files: "**/*.{ts,tsx}", | ||
rules: { | ||
// Covered by TypeScript. | ||
"default-case": "off", | ||
}, | ||
}, | ||
], | ||
plugins: ["sort-destructure-keys", "typescript-sort-keys"], | ||
rules: { | ||
// Forbid function declarations. | ||
"func-style": ["error", "expression", { allowArrowFunctions: true }], | ||
// Already taken care of by TypeScript. | ||
"import/namespace": "off", | ||
// Named export are better for static analysis. | ||
// See https://humanwhocodes.com/blog/2019/01/stop-using-default-exports-javascript-module/ | ||
"import/no-default-export": "error", | ||
"import/no-namespace": "error", | ||
"import/order": [ | ||
"error", | ||
{ | ||
alphabetize: { | ||
caseInsensitive: true, | ||
order: "asc", | ||
}, | ||
"newlines-between": "never", | ||
}, | ||
], | ||
"no-console": "error", | ||
"object-shorthand": [ | ||
"error", | ||
"always", | ||
{ avoidExplicitReturnArrows: true }, | ||
], | ||
"sort-destructure-keys/sort-destructure-keys": [ | ||
"error", | ||
{ | ||
caseSensitive: false, | ||
}, | ||
], | ||
"sort-imports": ["error", { ignoreDeclarationSort: true }], | ||
"sort-keys": [ | ||
"error", | ||
"asc", | ||
{ | ||
caseSensitive: false, | ||
minKeys: 2, | ||
natural: true, | ||
}, | ||
], | ||
"typescript-sort-keys/interface": "error", | ||
"typescript-sort-keys/string-enum": "error", | ||
// Not supported by Node.js 12. | ||
"unicorn/prefer-node-protocol": "off", | ||
}, | ||
}; |
Oops, something went wrong.