Skip to content
This repository has been archived by the owner on Oct 13, 2020. It is now read-only.

Commit

Permalink
build(deps): update all dependencies
Browse files Browse the repository at this point in the history
- update all dependencies to the latest versions
- fix issues with types with `@octokit/rest`
- update dependabot to use `build` for the prefix as `chore` is no
longer valid

[ch8743]
  • Loading branch information
blake-newman committed Feb 13, 2020
1 parent 593f33e commit 83eaa9c
Show file tree
Hide file tree
Showing 4 changed files with 505 additions and 481 deletions.
2 changes: 1 addition & 1 deletion .dependabot/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ update_configs:
default_labels:
- '🤖 Dependency update'
commit_message:
prefix: 'chore'
prefix: 'build'
include_scope: true
40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,35 +48,35 @@
"dependencies": {
"@actions/core": "^1.2.2",
"@actions/github": "^2.1.0",
"@octokit/core": "^2.2.0",
"@octokit/rest": "^16.39.0"
"@octokit/core": "^2.4.0",
"@octokit/rest": "^16.43.1"
},
"devDependencies": {
"@attest/config-babel-preset-env-node": "^0.1.17",
"@attest/config-babel-preset-jest": "^0.1.17",
"@attest/config-babel-preset-typescript": "^0.1.1",
"@attest/config-jest": "^0.3.13",
"@attest/config-npm-package-json-lint": "^0.2.6",
"@attest/config-babel-preset-env-node": "^0.1.19",
"@attest/config-babel-preset-jest": "^0.1.19",
"@attest/config-babel-preset-typescript": "^0.2.0",
"@attest/config-jest": "^0.3.17",
"@attest/config-npm-package-json-lint": "^0.2.7",
"@attest/config-prettier": "^0.3.1",
"@attest/config-rollup-typescript": "^0.1.34",
"@attest/config-rollup-typescript": "^0.1.41",
"@attest/config-typescript": "^1.0.5",
"@attest/conventional-changelog": "^0.1.15",
"@attest/eslint-config": "^0.1.1",
"@attest/conventional-changelog": "^0.1.17",
"@attest/eslint-config": "^0.2.0",
"@attest/eslint-config-node": "^0.1.0",
"@attest/eslint-config-typescript": "^0.1.4",
"@attest/generate-codeowners": "^0.1.3",
"@attest/standard-commits": "^0.1.29",
"@babel/core": "^7.8.3",
"@attest/eslint-config-typescript": "^0.1.10",
"@attest/generate-codeowners": "^0.1.5",
"@attest/standard-commits": "^0.1.31",
"@babel/core": "^7.8.4",
"@semantic-release/changelog": "^5.0.0",
"@semantic-release/commit-analyzer": "^8.0.0",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/git": "^9.0.0",
"@semantic-release/github": "^6.0.2",
"@semantic-release/github": "^7.0.3",
"@semantic-release/release-notes-generator": "^9.0.0",
"husky": "^4.2.1",
"lint-staged": "^10.0.3",
"husky": "^4.2.3",
"lint-staged": "^10.0.7",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.1",
"semantic-release": "^17.0.0",
"rimraf": "^3.0.2",
"semantic-release": "^17.0.3",
"typescript": "^3.7.5"
},
"optionalDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions src/github.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Annotations } from '@/annotations'
import { ChecksCreateResponse, ChecksUpdateParamsOutputAnnotations } from '@octokit/rest'
import { Context } from '@actions/github/lib/context'
import { Octokit } from '@octokit/rest'
import github from '@actions/github'

export class Github {
Expand All @@ -9,7 +9,7 @@ export class Github {
private readonly owner: string
private readonly repo: string
private readonly sha: string
private check: ChecksCreateResponse | null = null
private check: Octokit.ChecksCreateResponse | null = null

public constructor(token: string) {
this.client = new github.GitHub({
Expand All @@ -23,7 +23,7 @@ export class Github {

private static githubAnnotationFromAnnotation(
annotations: Annotations,
): ChecksUpdateParamsOutputAnnotations[] {
): Octokit.ChecksUpdateParamsOutputAnnotations[] {
return annotations.map(annotation => {
const { level, message, path, column = {}, line = {} } = annotation

Expand Down
Loading

0 comments on commit 83eaa9c

Please sign in to comment.