Skip to content

release: v1.5.12 #231

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
Jun 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
43 changes: 22 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@technote-space/assign-author",
"version": "1.5.11",
"version": "1.5.12",
"description": "GitHub actions to assign author to issue or PR.",
"keywords": [
"github",
Expand Down Expand Up @@ -32,32 +32,33 @@
"lint:fix": "eslint --fix 'src/**/*.ts' '__tests__/**/*.ts'",
"release": "yarn release-ga --test",
"test": "yarn lint && yarn cover",
"update": "npm_config_yes=true npx npm-check-updates -u --timeout 100000 && yarn install && yarn upgrade && yarn audit"
"update": "npm_config_yes=true npx npm-check-updates -u --timeout 100000 && yarn install && yarn upgrade && yarn audit",
"postinstall": "[ -n \"$CI\" ] || [ ! -f node_modules/.bin/husky ] || husky install"
},
"dependencies": {
"@actions/core": "^1.2.7",
"@actions/github": "^4.0.0",
"@technote-space/filter-github-action": "^0.5.24",
"@technote-space/github-action-helper": "^5.2.6",
"@technote-space/github-action-log-helper": "^0.1.24"
"@actions/core": "^1.4.0",
"@actions/github": "^5.0.0",
"@technote-space/filter-github-action": "^0.5.28",
"@technote-space/github-action-helper": "^5.2.9",
"@technote-space/github-action-log-helper": "^0.1.28"
},
"devDependencies": {
"@commitlint/cli": "^12.1.1",
"@commitlint/config-conventional": "^12.1.1",
"@technote-space/github-action-test-helper": "^0.7.8",
"@technote-space/release-github-actions-cli": "^1.8.4",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@technote-space/github-action-test-helper": "^0.7.13",
"@technote-space/release-github-actions-cli": "^1.8.6",
"@types/jest": "^26.0.23",
"@types/node": "^15.0.1",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"eslint": "^7.25.0",
"@types/node": "^15.12.4",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"eslint": "^7.29.0",
"husky": "^6.0.0",
"jest": "^26.6.3",
"jest-circus": "^26.6.3",
"lint-staged": "^10.5.4",
"nock": "^13.0.11",
"ts-jest": "^26.5.5",
"typescript": "^4.2.4"
"jest": "^27.0.5",
"jest-circus": "^27.0.5",
"lint-staged": "^11.0.0",
"nock": "^13.1.0",
"ts-jest": "^27.0.3",
"typescript": "^4.3.4"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion src/utils/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const addAssignees = async(assignees: string[] | false, octokit: Octokit,
}

try {
await octokit.issues.addAssignees({
await octokit.rest.issues.addAssignees({
owner: context.repo.owner,
repo: context.repo.repo,
'issue_number': context.issue.number,
Expand Down
Loading