From fa0bc4f728670e6933cddb1de9d3006185ae75a4 Mon Sep 17 00:00:00 2001 From: Thomas Boop <52323235+thboop@users.noreply.github.com> Date: Mon, 8 Jun 2020 15:54:46 -0400 Subject: [PATCH 01/10] initial commit --- .github/workflows/update-github.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/update-github.yaml diff --git a/.github/workflows/update-github.yaml b/.github/workflows/update-github.yaml new file mode 100644 index 0000000000..c1602f8fa6 --- /dev/null +++ b/.github/workflows/update-github.yaml @@ -0,0 +1,15 @@ +name: "Update Actions GitHub Octokit" + +on: + push: + schedule: + - cron: '0 0 * * 0' + +jobs: + Update Actions GitHub: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + From a682b0cc830fab8a8ec4546328eb66433c7eec19 Mon Sep 17 00:00:00 2001 From: Thomas Boop Date: Mon, 8 Jun 2020 17:22:04 -0400 Subject: [PATCH 02/10] create automation to update Octokit --- .github/workflows/update-github.yaml | 38 +++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update-github.yaml b/.github/workflows/update-github.yaml index c1602f8fa6..85f5d3d6ae 100644 --- a/.github/workflows/update-github.yaml +++ b/.github/workflows/update-github.yaml @@ -1,15 +1,45 @@ -name: "Update Actions GitHub Octokit" +name: "UpdateOctokit" on: push: schedule: - - cron: '0 0 * * 0' + - cron: '0 18 * * 0' jobs: - Update Actions GitHub: + UpdateOctokit: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v2 - + - name: Update Octokit + working-directory: packages/github + run: | + npm update + - name: Check Status + id: status + working-directory: packages/github + run: | + if [[ "$(git status --porcelain)" != "" ]]; then + echo "::set-output name=createPR::true" + git config --global user.email "bot@github.com" + git config --global user.name "Dependency Update Bot" + git checkout -b bots/updateGitHubDependencies-${{github.run_number}} + git add . + git commit -m "Update Dependencies" + git push --set-upstream origin bots/updateGitHubDependencies-${{github.run_number}}; fi + - name: Create PR + if: ${{steps.status.outputs.createPR}} + uses: actions/github-script@v2 + with: + github-token: ${{secrets.GITHUB_TOKEN}} + script: | + github.pulls.create( + { + base: "master", + owner: "${{github.repository_owner}}", + repo: "toolkit", + title: "Update Octokit dependencies", + body: "Update Octokit dependencies", + head: "bots/updateGitHubDependencies-${{github.run_number}}" + }) From 49e319473e858923706658b48a362ad8fd250def Mon Sep 17 00:00:00 2001 From: Thomas Boop <52323235+thboop@users.noreply.github.com> Date: Mon, 8 Jun 2020 17:39:35 -0400 Subject: [PATCH 03/10] Update update-github.yaml --- .github/workflows/update-github.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-github.yaml b/.github/workflows/update-github.yaml index 85f5d3d6ae..1583725d03 100644 --- a/.github/workflows/update-github.yaml +++ b/.github/workflows/update-github.yaml @@ -15,7 +15,8 @@ jobs: - name: Update Octokit working-directory: packages/github run: | - npm update + npx npm-check-updates -u --dep prod + npm install - name: Check Status id: status working-directory: packages/github From 53076d8b4851e466d7b6391785fbd09077c57250 Mon Sep 17 00:00:00 2001 From: Dependency Update Bot Date: Mon, 8 Jun 2020 21:40:15 +0000 Subject: [PATCH 04/10] Update Dependencies --- packages/github/package-lock.json | 102 ++++++++++++------------------ packages/github/package.json | 8 +-- 2 files changed, 45 insertions(+), 65 deletions(-) diff --git a/packages/github/package-lock.json b/packages/github/package-lock.json index 5d0ed1b3d6..d3734aad07 100644 --- a/packages/github/package-lock.json +++ b/packages/github/package-lock.json @@ -457,91 +457,71 @@ } }, "@octokit/auth-token": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.4.0.tgz", - "integrity": "sha512-eoOVMjILna7FVQf96iWc3+ZtE/ZT6y8ob8ZzcqKY1ibSQCnu4O/B7pJvzMx5cyZ/RjAff6DAdEb0O0Cjcxidkg==", + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.4.1.tgz", + "integrity": "sha512-NB81O5h39KfHYGtgfWr2booRxp2bWOJoqbWwbyUg2hw6h35ArWYlAST5B3XwAkbdcx13yt84hFXyFP5X0QToWA==", "requires": { - "@octokit/types": "^2.0.0" + "@octokit/types": "^4.0.1" } }, "@octokit/core": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/@octokit/core/-/core-2.5.2.tgz", - "integrity": "sha512-+hEKCEGvbS902uuSk/TyVnI7eWDEKVm1BIPnbKy8gsxjTYaybEU8EG73B3Ju5cMj2/OIZ0uHoQWD1nGWhWsj2g==", + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-2.5.3.tgz", + "integrity": "sha512-23AHK9xBW0v79Ck8h5U+5iA4MW7aosqv+Yr6uZXolVGNzzHwryNH5wM386/6+etiKUTwLFZTqyMU9oQpIBZcFA==", "requires": { "@octokit/auth-token": "^2.4.0", "@octokit/graphql": "^4.3.1", "@octokit/request": "^5.4.0", - "@octokit/types": "^2.0.0", + "@octokit/types": "^4.0.1", "before-after-hook": "^2.1.0", "universal-user-agent": "^5.0.0" } }, "@octokit/endpoint": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.1.tgz", - "integrity": "sha512-pOPHaSz57SFT/m3R5P8MUu4wLPszokn5pXcB/pzavLTQf2jbU+6iayTvzaY6/BiotuRS0qyEUkx3QglT4U958A==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.2.tgz", + "integrity": "sha512-xs1mmCEZ2y4shXCpFjNq3UbmNR+bLzxtZim2L0zfEtj9R6O6kc4qLDvYw66hvO6lUsYzPTM5hMkltbuNAbRAcQ==", "requires": { - "@octokit/types": "^2.11.1", + "@octokit/types": "^4.0.1", "is-plain-object": "^3.0.0", "universal-user-agent": "^5.0.0" } }, "@octokit/graphql": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.4.0.tgz", - "integrity": "sha512-Du3hAaSROQ8EatmYoSAJjzAz3t79t9Opj/WY1zUgxVUGfIKn0AEjg+hlOLscF6fv6i/4y/CeUvsWgIfwMkTccw==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.5.0.tgz", + "integrity": "sha512-StJWfn0M1QfhL3NKBz31e1TdDNZrHLLS57J2hin92SIfzlOVBuUaRkp31AGkGOAFOAVtyEX6ZiZcsjcJDjeb5g==", "requires": { "@octokit/request": "^5.3.0", - "@octokit/types": "^2.0.0", + "@octokit/types": "^4.0.1", "universal-user-agent": "^5.0.0" } }, "@octokit/plugin-paginate-rest": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.2.0.tgz", - "integrity": "sha512-KoNxC3PLNar8UJwR+1VMQOw2IoOrrFdo5YOiDKnBhpVbKpw+zkBKNMNKwM44UWL25Vkn0Sl3nYIEGKY+gW5ebw==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.2.1.tgz", + "integrity": "sha512-/tHpIF2XpN40AyhIq295YRjb4g7Q5eKob0qM3thYJ0Z+CgmNsWKM/fWse/SUR8+LdprP1O4ZzSKQE+71TCwK+w==", "requires": { - "@octokit/types": "^2.12.1" - }, - "dependencies": { - "@octokit/types": { - "version": "2.12.2", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.12.2.tgz", - "integrity": "sha512-1GHLI/Jll3j6F0GbYyZPFTcHZMGjAiRfkTEoRUyaVVk2IWbDdwEiClAJvXzfXCDayuGSNCqAUH8lpjZtqW9GDw==", - "requires": { - "@types/node": ">= 8" - } - } + "@octokit/types": "^4.0.1" } }, "@octokit/plugin-rest-endpoint-methods": { - "version": "3.10.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-3.10.0.tgz", - "integrity": "sha512-Z2DBsdnkWKuVBVFiLoEUKP/82ylH4Ij5F1Mss106hnQYXTxDfCWAyHW+hJ6ophuHVJ9Flaaue3fYn4CggzkHTg==", + "version": "3.17.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-3.17.0.tgz", + "integrity": "sha512-NFV3vq7GgoO2TrkyBRUOwflkfTYkFKS0tLAPym7RNpkwLCttqShaEGjthOsPEEL+7LFcYv3mU24+F2yVd3npmg==", "requires": { - "@octokit/types": "^2.14.0", + "@octokit/types": "^4.1.6", "deprecation": "^2.3.1" - }, - "dependencies": { - "@octokit/types": { - "version": "2.14.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.14.0.tgz", - "integrity": "sha512-1w2wxpN45rEXPDFeB7rGain7wcJ/aTRg8bdILITVnS0O7a4zEGELa3JmIe+jeLdekQjvZRbVfNPqS+mi5fKCKQ==", - "requires": { - "@types/node": ">= 8" - } - } } }, "@octokit/request": { - "version": "5.4.2", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.4.2.tgz", - "integrity": "sha512-zKdnGuQ2TQ2vFk9VU8awFT4+EYf92Z/v3OlzRaSh4RIP0H6cvW1BFPXq4XYvNez+TPQjqN+0uSkCYnMFFhcFrw==", + "version": "5.4.4", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.4.4.tgz", + "integrity": "sha512-vqv1lz41c6VTxUvF9nM+a6U+vvP3vGk7drDpr0DVQg4zyqlOiKVrY17DLD6de5okj+YLHKcoqaUZTBtlNZ1BtQ==", "requires": { "@octokit/endpoint": "^6.0.1", "@octokit/request-error": "^2.0.0", - "@octokit/types": "^2.11.1", + "@octokit/types": "^4.0.1", "deprecation": "^2.0.0", "is-plain-object": "^3.0.0", "node-fetch": "^2.3.0", @@ -550,19 +530,19 @@ } }, "@octokit/request-error": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.0.0.tgz", - "integrity": "sha512-rtYicB4Absc60rUv74Rjpzek84UbVHGHJRu4fNVlZ1mCcyUPPuzFfG9Rn6sjHrd95DEsmjSt1Axlc699ZlbDkw==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.0.1.tgz", + "integrity": "sha512-5lqBDJ9/TOehK82VvomQ6zFiZjPeSom8fLkFVLuYL3sKiIb5RB8iN/lenLkY7oBmyQcGP7FBMGiIZTO8jufaRQ==", "requires": { - "@octokit/types": "^2.0.0", + "@octokit/types": "^4.0.1", "deprecation": "^2.0.0", "once": "^1.4.0" } }, "@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==", + "version": "4.1.9", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-4.1.9.tgz", + "integrity": "sha512-hinM/BA2c1vebN2HSR3JtVdYtrSbmvn/doUBZXXuQuh/9o60hYwitQQAGTpJu+k6pjtjURskDHQxUFvqLvYCeA==", "requires": { "@types/node": ">= 8" } @@ -649,9 +629,9 @@ } }, "@types/node": { - "version": "12.12.11", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.11.tgz", - "integrity": "sha512-O+x6uIpa6oMNTkPuHDa9MhMMehlxLAd5QcOvKRjAFsBVpeFWTOPnXbDvILvFgFFZfQ1xh1EZi1FbXxUix+zpsQ==" + "version": "14.0.12", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.0.12.tgz", + "integrity": "sha512-/sjzehvjkkpvLpYtN6/2dv5kg41otMGuHQUt9T2aiAuIfleCQRQHXXzF1eAw/qkZTj5Kcf4JSTf7EIizHocy6Q==" }, "@types/stack-utils": { "version": "1.0.1", @@ -4758,9 +4738,9 @@ "dev": true }, "windows-release": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/windows-release/-/windows-release-3.3.0.tgz", - "integrity": "sha512-2HetyTg1Y+R+rUgrKeUEhAG/ZuOmTrI1NBb3ZyAGQMYmOJjBBPe4MTodghRkmLJZHwkuPi02anbeGP+Zf401LQ==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/windows-release/-/windows-release-3.3.1.tgz", + "integrity": "sha512-Pngk/RDCaI/DkuHPlGTdIkDiTAnAkyMjoQMZqRsxydNl1qGXNIoZrB7RK8g53F2tEgQBMqQJHQdYZuQEEAu54A==", "requires": { "execa": "^1.0.0" } diff --git a/packages/github/package.json b/packages/github/package.json index 4d72fee609..89db228def 100644 --- a/packages/github/package.json +++ b/packages/github/package.json @@ -38,10 +38,10 @@ "url": "https://github.com/actions/toolkit/issues" }, "dependencies": { - "@actions/http-client": "^1.0.3", - "@octokit/core": "^2.5.1", - "@octokit/plugin-paginate-rest": "^2.2.0", - "@octokit/plugin-rest-endpoint-methods": "^3.10.0" + "@actions/http-client": "^1.0.8", + "@octokit/core": "^2.5.3", + "@octokit/plugin-paginate-rest": "^2.2.1", + "@octokit/plugin-rest-endpoint-methods": "^3.17.0" }, "devDependencies": { "jest": "^25.1.0", From d514d2854be751eb925ca3ef3df2361c59112b9c Mon Sep 17 00:00:00 2001 From: Thomas Boop <52323235+thboop@users.noreply.github.com> Date: Mon, 8 Jun 2020 18:03:54 -0400 Subject: [PATCH 05/10] Update update-github.yaml --- .github/workflows/update-github.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/update-github.yaml b/.github/workflows/update-github.yaml index 1583725d03..aed568a65e 100644 --- a/.github/workflows/update-github.yaml +++ b/.github/workflows/update-github.yaml @@ -1,7 +1,6 @@ name: "UpdateOctokit" on: - push: schedule: - cron: '0 18 * * 0' From e1f79016c77ec9a51c1864b13b2547fed89875b9 Mon Sep 17 00:00:00 2001 From: Thomas Boop <52323235+thboop@users.noreply.github.com> Date: Mon, 15 Jun 2020 10:47:16 -0400 Subject: [PATCH 06/10] Update .github/workflows/update-github.yaml Co-authored-by: Shohei Ueda <30958501+peaceiris@users.noreply.github.com> --- .github/workflows/update-github.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-github.yaml b/.github/workflows/update-github.yaml index aed568a65e..2d5bd91956 100644 --- a/.github/workflows/update-github.yaml +++ b/.github/workflows/update-github.yaml @@ -22,8 +22,8 @@ jobs: run: | if [[ "$(git status --porcelain)" != "" ]]; then echo "::set-output name=createPR::true" - git config --global user.email "bot@github.com" - git config --global user.name "Dependency Update Bot" + git config --global user.email "github-actions[bot]@users.noreply.github.com" + git config --global user.name "github-actions[bot]" git checkout -b bots/updateGitHubDependencies-${{github.run_number}} git add . git commit -m "Update Dependencies" From 8bb8112bd406a80dc6adfb1bbac649e2be1e0a3a Mon Sep 17 00:00:00 2001 From: Thomas Boop <52323235+thboop@users.noreply.github.com> Date: Fri, 19 Jun 2020 14:03:26 -0400 Subject: [PATCH 07/10] PR updates --- .github/workflows/update-github.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-github.yaml b/.github/workflows/update-github.yaml index 2d5bd91956..b68eaf31fb 100644 --- a/.github/workflows/update-github.yaml +++ b/.github/workflows/update-github.yaml @@ -2,12 +2,12 @@ name: "UpdateOctokit" on: schedule: - - cron: '0 18 * * 0' + - cron: '0 18 * * 0' # sunday at 18 UTC jobs: UpdateOctokit: runs-on: ubuntu-latest - + if: ${{ github.repository_owner == 'actions' }} steps: - name: Checkout repository uses: actions/checkout@v2 @@ -27,7 +27,8 @@ jobs: git checkout -b bots/updateGitHubDependencies-${{github.run_number}} git add . git commit -m "Update Dependencies" - git push --set-upstream origin bots/updateGitHubDependencies-${{github.run_number}}; fi + git push --set-upstream origin bots/updateGitHubDependencies-${{github.run_number}} + fi - name: Create PR if: ${{steps.status.outputs.createPR}} uses: actions/github-script@v2 From 60e89f8f2255eebb3cb5470efb35f141f52c8fd8 Mon Sep 17 00:00:00 2001 From: Thomas Boop <52323235+thboop@users.noreply.github.com> Date: Fri, 19 Jun 2020 14:08:32 -0400 Subject: [PATCH 08/10] Update update-github.yaml --- .github/workflows/update-github.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-github.yaml b/.github/workflows/update-github.yaml index b68eaf31fb..40b1a21dce 100644 --- a/.github/workflows/update-github.yaml +++ b/.github/workflows/update-github.yaml @@ -1,13 +1,14 @@ name: "UpdateOctokit" on: + push: schedule: - cron: '0 18 * * 0' # sunday at 18 UTC jobs: UpdateOctokit: runs-on: ubuntu-latest - if: ${{ github.repository_owner == 'actions' }} + # if: ${{ github.repository_owner == 'actions' }} steps: - name: Checkout repository uses: actions/checkout@v2 From 2617c1682fac14bc6e4a052f7564aa17d9d7854e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 19 Jun 2020 18:09:06 +0000 Subject: [PATCH 09/10] Update Dependencies --- packages/github/package-lock.json | 76 +++++++++++++++---------------- packages/github/package.json | 6 +-- 2 files changed, 41 insertions(+), 41 deletions(-) diff --git a/packages/github/package-lock.json b/packages/github/package-lock.json index d3734aad07..d2281bcde1 100644 --- a/packages/github/package-lock.json +++ b/packages/github/package-lock.json @@ -457,71 +457,71 @@ } }, "@octokit/auth-token": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.4.1.tgz", - "integrity": "sha512-NB81O5h39KfHYGtgfWr2booRxp2bWOJoqbWwbyUg2hw6h35ArWYlAST5B3XwAkbdcx13yt84hFXyFP5X0QToWA==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.4.2.tgz", + "integrity": "sha512-jE/lE/IKIz2v1+/P0u4fJqv0kYwXOTujKemJMFr6FeopsxlIK3+wKDCJGnysg81XID5TgZQbIfuJ5J0lnTiuyQ==", "requires": { - "@octokit/types": "^4.0.1" + "@octokit/types": "^5.0.0" } }, "@octokit/core": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/@octokit/core/-/core-2.5.3.tgz", - "integrity": "sha512-23AHK9xBW0v79Ck8h5U+5iA4MW7aosqv+Yr6uZXolVGNzzHwryNH5wM386/6+etiKUTwLFZTqyMU9oQpIBZcFA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-3.0.0.tgz", + "integrity": "sha512-FGUUqZbIwl5UPvuUTWq8ly2B12gJGWjYh1DviBzZLXp5LzHUgyzL+NDGsXeE4vszXoGsD/JfpZS+kjkLiD2T9w==", "requires": { "@octokit/auth-token": "^2.4.0", "@octokit/graphql": "^4.3.1", "@octokit/request": "^5.4.0", - "@octokit/types": "^4.0.1", + "@octokit/types": "^5.0.0", "before-after-hook": "^2.1.0", "universal-user-agent": "^5.0.0" } }, "@octokit/endpoint": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.2.tgz", - "integrity": "sha512-xs1mmCEZ2y4shXCpFjNq3UbmNR+bLzxtZim2L0zfEtj9R6O6kc4qLDvYw66hvO6lUsYzPTM5hMkltbuNAbRAcQ==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.3.tgz", + "integrity": "sha512-Y900+r0gIz+cWp6ytnkibbD95ucEzDSKzlEnaWS52hbCDNcCJYO5mRmWW7HRAnDc7am+N/5Lnd8MppSaTYx1Yg==", "requires": { - "@octokit/types": "^4.0.1", + "@octokit/types": "^5.0.0", "is-plain-object": "^3.0.0", "universal-user-agent": "^5.0.0" } }, "@octokit/graphql": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.5.0.tgz", - "integrity": "sha512-StJWfn0M1QfhL3NKBz31e1TdDNZrHLLS57J2hin92SIfzlOVBuUaRkp31AGkGOAFOAVtyEX6ZiZcsjcJDjeb5g==", + "version": "4.5.1", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.5.1.tgz", + "integrity": "sha512-qgMsROG9K2KxDs12CO3bySJaYoUu2aic90qpFrv7A8sEBzZ7UFGvdgPKiLw5gOPYEYbS0Xf8Tvf84tJutHPulQ==", "requires": { "@octokit/request": "^5.3.0", - "@octokit/types": "^4.0.1", + "@octokit/types": "^5.0.0", "universal-user-agent": "^5.0.0" } }, "@octokit/plugin-paginate-rest": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.2.1.tgz", - "integrity": "sha512-/tHpIF2XpN40AyhIq295YRjb4g7Q5eKob0qM3thYJ0Z+CgmNsWKM/fWse/SUR8+LdprP1O4ZzSKQE+71TCwK+w==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.2.3.tgz", + "integrity": "sha512-eKTs91wXnJH8Yicwa30jz6DF50kAh7vkcqCQ9D7/tvBAP5KKkg6I2nNof8Mp/65G0Arjsb4QcOJcIEQY+rK1Rg==", "requires": { - "@octokit/types": "^4.0.1" + "@octokit/types": "^5.0.0" } }, "@octokit/plugin-rest-endpoint-methods": { - "version": "3.17.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-3.17.0.tgz", - "integrity": "sha512-NFV3vq7GgoO2TrkyBRUOwflkfTYkFKS0tLAPym7RNpkwLCttqShaEGjthOsPEEL+7LFcYv3mU24+F2yVd3npmg==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-4.0.0.tgz", + "integrity": "sha512-emS6gysz4E9BNi9IrCl7Pm4kR+Az3MmVB0/DoDCmF4U48NbYG3weKyDlgkrz6Jbl4Mu4nDx8YWZwC4HjoTdcCA==", "requires": { - "@octokit/types": "^4.1.6", + "@octokit/types": "^5.0.0", "deprecation": "^2.3.1" } }, "@octokit/request": { - "version": "5.4.4", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.4.4.tgz", - "integrity": "sha512-vqv1lz41c6VTxUvF9nM+a6U+vvP3vGk7drDpr0DVQg4zyqlOiKVrY17DLD6de5okj+YLHKcoqaUZTBtlNZ1BtQ==", + "version": "5.4.5", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.4.5.tgz", + "integrity": "sha512-atAs5GAGbZedvJXXdjtKljin+e2SltEs48B3naJjqWupYl2IUBbB/CJisyjbNHcKpHzb3E+OYEZ46G8eakXgQg==", "requires": { "@octokit/endpoint": "^6.0.1", "@octokit/request-error": "^2.0.0", - "@octokit/types": "^4.0.1", + "@octokit/types": "^5.0.0", "deprecation": "^2.0.0", "is-plain-object": "^3.0.0", "node-fetch": "^2.3.0", @@ -530,19 +530,19 @@ } }, "@octokit/request-error": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.0.1.tgz", - "integrity": "sha512-5lqBDJ9/TOehK82VvomQ6zFiZjPeSom8fLkFVLuYL3sKiIb5RB8iN/lenLkY7oBmyQcGP7FBMGiIZTO8jufaRQ==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.0.2.tgz", + "integrity": "sha512-2BrmnvVSV1MXQvEkrb9zwzP0wXFNbPJij922kYBTLIlIafukrGOb+ABBT2+c6wZiuyWDH1K1zmjGQ0toN/wMWw==", "requires": { - "@octokit/types": "^4.0.1", + "@octokit/types": "^5.0.1", "deprecation": "^2.0.0", "once": "^1.4.0" } }, "@octokit/types": { - "version": "4.1.9", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-4.1.9.tgz", - "integrity": "sha512-hinM/BA2c1vebN2HSR3JtVdYtrSbmvn/doUBZXXuQuh/9o60hYwitQQAGTpJu+k6pjtjURskDHQxUFvqLvYCeA==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-5.0.1.tgz", + "integrity": "sha512-GorvORVwp244fGKEt3cgt/P+M0MGy4xEDbckw+K5ojEezxyMDgCaYPKVct+/eWQfZXOT7uq0xRpmrl/+hliabA==", "requires": { "@types/node": ">= 8" } @@ -629,9 +629,9 @@ } }, "@types/node": { - "version": "14.0.12", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.0.12.tgz", - "integrity": "sha512-/sjzehvjkkpvLpYtN6/2dv5kg41otMGuHQUt9T2aiAuIfleCQRQHXXzF1eAw/qkZTj5Kcf4JSTf7EIizHocy6Q==" + "version": "14.0.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.0.13.tgz", + "integrity": "sha512-rouEWBImiRaSJsVA+ITTFM6ZxibuAlTuNOCyxVbwreu6k6+ujs7DfnU9o+PShFhET78pMBl3eH+AGSI5eOTkPA==" }, "@types/stack-utils": { "version": "1.0.1", diff --git a/packages/github/package.json b/packages/github/package.json index 89db228def..4cb518c93c 100644 --- a/packages/github/package.json +++ b/packages/github/package.json @@ -39,9 +39,9 @@ }, "dependencies": { "@actions/http-client": "^1.0.8", - "@octokit/core": "^2.5.3", - "@octokit/plugin-paginate-rest": "^2.2.1", - "@octokit/plugin-rest-endpoint-methods": "^3.17.0" + "@octokit/core": "^3.0.0", + "@octokit/plugin-paginate-rest": "^2.2.3", + "@octokit/plugin-rest-endpoint-methods": "^4.0.0" }, "devDependencies": { "jest": "^25.1.0", From b28ec4894c39b902b562746ad89df53ce266c5eb Mon Sep 17 00:00:00 2001 From: Thomas Boop <52323235+thboop@users.noreply.github.com> Date: Fri, 19 Jun 2020 14:09:54 -0400 Subject: [PATCH 10/10] Update update-github.yaml --- .github/workflows/update-github.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/update-github.yaml b/.github/workflows/update-github.yaml index 40b1a21dce..b68eaf31fb 100644 --- a/.github/workflows/update-github.yaml +++ b/.github/workflows/update-github.yaml @@ -1,14 +1,13 @@ name: "UpdateOctokit" on: - push: schedule: - cron: '0 18 * * 0' # sunday at 18 UTC jobs: UpdateOctokit: runs-on: ubuntu-latest - # if: ${{ github.repository_owner == 'actions' }} + if: ${{ github.repository_owner == 'actions' }} steps: - name: Checkout repository uses: actions/checkout@v2