diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..e3c04d7 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,8 @@ +version: 2 +updates: + - package-ecosystem: "npm" + directory: "/" + schedule: + interval: "daily" + labels: + - "maintenance" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a879d67..ff03818 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,23 +1,26 @@ name: Test -on: +"on": push: branches: - - "greenkeeper/**" + - dependabot/npm_and_yarn/** pull_request: - types: [opened, synchronize] - + types: + - opened + - synchronize jobs: test: runs-on: ubuntu-latest strategy: matrix: - node_version: [10, 12, 13] - + node_version: + - 10 + - 12 + - 13 steps: - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node_version }} + - name: "Use Node.js ${{ matrix.node_version }}" uses: actions/setup-node@v1 with: - node-version: ${{ matrix.node_version }} + node-version: "${{ matrix.node_version }}" - run: npm ci - run: npm test diff --git a/.github/workflows/update-prettier.yml b/.github/workflows/update-prettier.yml index d41077e..2aa3207 100644 --- a/.github/workflows/update-prettier.yml +++ b/.github/workflows/update-prettier.yml @@ -1,9 +1,8 @@ name: Update Prettier -on: +"on": push: branches: - - "greenkeeper/prettier-*" - + - dependabot/npm_and_yarn/prettier-* jobs: update_prettier: runs-on: ubuntu-latest @@ -13,12 +12,12 @@ jobs: with: version: 12 - run: npm ci - - run: npm run lint:fix + - run: "npm run lint:fix" - uses: gr2m/create-or-update-pull-request-action@v1.x env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" with: - title: "Prettier updated" - body: "An update to prettier required updates to your code." - branch: ${{ github.ref }} + title: Prettier updated + body: An update to prettier required updates to your code. + branch: "${{ github.ref }}" commit-message: "style: prettier" diff --git a/README.md b/README.md index 2648b5d..496df17 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,6 @@ See the [official deprecation announcement](https://developer.github.com/changes [![@latest](https://img.shields.io/npm/v/@octokit/auth-basic.svg)](https://www.npmjs.com/package/@octokit/auth-basic) [![Build Status](https://github.com/octokit/auth-basic.js/workflows/Test/badge.svg)](https://github.com/octokit/auth-basic.js/actions?query=workflow%3ATest) -[![Greenkeeper](https://badges.greenkeeper.io/octokit/auth-basic.js.svg)](https://greenkeeper.io/) `@octokit/auth-basic` is implementing one of [GitHub’s authentication strategies](https://github.com/octokit/auth.js): authenticating using username and password. diff --git a/package-lock.json b/package-lock.json index d092726..04f9548 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1609,6 +1609,17 @@ "dev": true, "requires": { "@octokit/types": "^2.0.0" + }, + "dependencies": { + "@octokit/types": { + "version": "2.16.2", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.16.2.tgz", + "integrity": "sha512-O75k56TYvJ8WpAakWwYRN8Bgu60KrmX0z1KqFp1kNiFNkgW+JW+9EBKZ+S33PU6SLvbihqd+3drvPxKK68Ee8Q==", + "dev": true, + "requires": { + "@types/node": ">= 8" + } + } } }, "@octokit/core": { @@ -1623,6 +1634,17 @@ "@octokit/types": "^2.0.0", "before-after-hook": "^2.1.0", "universal-user-agent": "^5.0.0" + }, + "dependencies": { + "@octokit/types": { + "version": "2.16.2", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.16.2.tgz", + "integrity": "sha512-O75k56TYvJ8WpAakWwYRN8Bgu60KrmX0z1KqFp1kNiFNkgW+JW+9EBKZ+S33PU6SLvbihqd+3drvPxKK68Ee8Q==", + "dev": true, + "requires": { + "@types/node": ">= 8" + } + } } }, "@octokit/endpoint": { @@ -1633,6 +1655,16 @@ "@octokit/types": "^2.11.1", "is-plain-object": "^3.0.0", "universal-user-agent": "^5.0.0" + }, + "dependencies": { + "@octokit/types": { + "version": "2.16.2", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.16.2.tgz", + "integrity": "sha512-O75k56TYvJ8WpAakWwYRN8Bgu60KrmX0z1KqFp1kNiFNkgW+JW+9EBKZ+S33PU6SLvbihqd+3drvPxKK68Ee8Q==", + "requires": { + "@types/node": ">= 8" + } + } } }, "@octokit/graphql": { @@ -1646,6 +1678,15 @@ "universal-user-agent": "^4.0.0" }, "dependencies": { + "@octokit/types": { + "version": "2.16.2", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.16.2.tgz", + "integrity": "sha512-O75k56TYvJ8WpAakWwYRN8Bgu60KrmX0z1KqFp1kNiFNkgW+JW+9EBKZ+S33PU6SLvbihqd+3drvPxKK68Ee8Q==", + "dev": true, + "requires": { + "@types/node": ">= 8" + } + }, "universal-user-agent": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-4.0.1.tgz", @@ -1664,6 +1705,17 @@ "dev": true, "requires": { "@octokit/types": "^2.9.0" + }, + "dependencies": { + "@octokit/types": { + "version": "2.16.2", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.16.2.tgz", + "integrity": "sha512-O75k56TYvJ8WpAakWwYRN8Bgu60KrmX0z1KqFp1kNiFNkgW+JW+9EBKZ+S33PU6SLvbihqd+3drvPxKK68Ee8Q==", + "dev": true, + "requires": { + "@types/node": ">= 8" + } + } } }, "@octokit/plugin-request-log": { @@ -1680,6 +1732,17 @@ "requires": { "@octokit/types": "^2.0.1", "deprecation": "^2.3.1" + }, + "dependencies": { + "@octokit/types": { + "version": "2.16.2", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.16.2.tgz", + "integrity": "sha512-O75k56TYvJ8WpAakWwYRN8Bgu60KrmX0z1KqFp1kNiFNkgW+JW+9EBKZ+S33PU6SLvbihqd+3drvPxKK68Ee8Q==", + "dev": true, + "requires": { + "@types/node": ">= 8" + } + } } }, "@octokit/request": { @@ -1695,6 +1758,16 @@ "node-fetch": "^2.3.0", "once": "^1.4.0", "universal-user-agent": "^5.0.0" + }, + "dependencies": { + "@octokit/types": { + "version": "2.16.2", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.16.2.tgz", + "integrity": "sha512-O75k56TYvJ8WpAakWwYRN8Bgu60KrmX0z1KqFp1kNiFNkgW+JW+9EBKZ+S33PU6SLvbihqd+3drvPxKK68Ee8Q==", + "requires": { + "@types/node": ">= 8" + } + } } }, "@octokit/request-error": { @@ -1705,6 +1778,16 @@ "@octokit/types": "^2.0.0", "deprecation": "^2.0.0", "once": "^1.4.0" + }, + "dependencies": { + "@octokit/types": { + "version": "2.16.2", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.16.2.tgz", + "integrity": "sha512-O75k56TYvJ8WpAakWwYRN8Bgu60KrmX0z1KqFp1kNiFNkgW+JW+9EBKZ+S33PU6SLvbihqd+3drvPxKK68Ee8Q==", + "requires": { + "@types/node": ">= 8" + } + } } }, "@octokit/rest": { @@ -1720,9 +1803,9 @@ } }, "@octokit/types": { - "version": "2.11.1", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.11.1.tgz", - "integrity": "sha512-QaLoLkmFdfoNbk3eOzPv7vKrUY0nRJIYmZDoz/pTer4ICpqu80aSQTVHnnUxEFuURCiidig76CcxUOYC/bY3RQ==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-4.0.1.tgz", + "integrity": "sha512-Ho6h7w2h9y8RRE8r656hIj1oiSbwbIHJGF5r9G5FOwS2VdDPq8QLGvsG4x6pKHpvyGK7j+43sAc2cJKMiFoIJw==", "requires": { "@types/node": ">= 8" } diff --git a/package.json b/package.json index 625da33..d347e4e 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "dependencies": { "@octokit/request": "^5.4.2", "@octokit/request-error": "^2.0.0", - "@octokit/types": "^2.0.0", + "@octokit/types": "^4.0.1", "@types/btoa-lite": "^1.0.0", "btoa-lite": "^1.0.0", "universal-user-agent": "^5.0.0"