Skip to content

Commit

Permalink
Update packages (#273)
Browse files Browse the repository at this point in the history
* Fixed the octokit calls to use octokit.rest.actions as opposed to octokit.actions
* Fixed ESLint config issues
* Update NPM packages
  • Loading branch information
rfennell authored Oct 28, 2021
1 parent 3aa2240 commit 6aaa7da
Show file tree
Hide file tree
Showing 15,671 changed files with 128,397 additions and 2,592,472 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
npm run all
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v2
- uses: ./
Expand Down
10 changes: 5 additions & 5 deletions lib/generate-releasenotes.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function GetRunDetails(octokit, owner, repo, run_id) {
return __awaiter(this, void 0, void 0, function* () {
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
try {
const response = yield octokit.actions.getWorkflowRun({
const response = yield octokit.rest.actions.getWorkflowRun({
owner: owner,
repo: repo,
run_id: run_id
Expand Down Expand Up @@ -131,7 +131,7 @@ function GetPullRequests(octokit, owner, repo, prList) {
for (let index = 0; index < prList.length; index++) {
const pr = prList[index];
core.info(`Getting the details of associated PR ${pr.number}`);
const response = yield octokit.pulls.get({
const response = yield octokit.rest.pulls.get({
owner: owner,
repo: repo,
pull_number: pr.number
Expand All @@ -155,7 +155,7 @@ function GetPullRequestCommits(octokit, owner, repo, pr) {
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
try {
core.info(`Getting the commits associated with PR ${pr.number}`);
const response = yield octokit.pulls.listCommits({
const response = yield octokit.rest.pulls.listCommits({
owner: owner,
repo: repo,
pull_number: pr.number
Expand All @@ -173,7 +173,7 @@ function GetPullRequestComments(octokit, owner, repo, pr) {
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
try {
core.info(`Getting the comments associated with PR ${pr.number}`);
const response = yield octokit.issues.listComments({
const response = yield octokit.rest.issues.listComments({
owner: owner,
repo: repo,
issue_number: pr.number
Expand Down Expand Up @@ -231,7 +231,7 @@ function GetLinkedIssues(octokit, owner, repo, pr) {
for (const [issue, count] of Object.entries(issues)) {
if (count % 2 !== 0) {
core.debug(`Getting the linked issue ${issue}`);
const issueDetails = yield octokit.issues.get({
const issueDetails = yield octokit.rest.issues.get({
owner: owner,
repo: repo,
issue_number: issue
Expand Down
12 changes: 0 additions & 12 deletions node_modules/.bin/acorn

This file was deleted.

12 changes: 0 additions & 12 deletions node_modules/.bin/atob

This file was deleted.

1 change: 1 addition & 0 deletions node_modules/.bin/atob

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions node_modules/.bin/browserslist

This file was deleted.

12 changes: 0 additions & 12 deletions node_modules/.bin/escodegen

This file was deleted.

12 changes: 0 additions & 12 deletions node_modules/.bin/esgenerate

This file was deleted.

12 changes: 0 additions & 12 deletions node_modules/.bin/eslint

This file was deleted.

12 changes: 0 additions & 12 deletions node_modules/.bin/eslint-config-prettier

This file was deleted.

12 changes: 0 additions & 12 deletions node_modules/.bin/eslint-ignore-errors

This file was deleted.

12 changes: 0 additions & 12 deletions node_modules/.bin/esparse

This file was deleted.

12 changes: 0 additions & 12 deletions node_modules/.bin/esvalidate

This file was deleted.

12 changes: 0 additions & 12 deletions node_modules/.bin/handlebars

This file was deleted.

1 change: 1 addition & 0 deletions node_modules/.bin/handlebars

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions node_modules/.bin/import-local-fixture

This file was deleted.

12 changes: 0 additions & 12 deletions node_modules/.bin/is-ci

This file was deleted.

12 changes: 0 additions & 12 deletions node_modules/.bin/jest

This file was deleted.

12 changes: 0 additions & 12 deletions node_modules/.bin/js-yaml

This file was deleted.

12 changes: 0 additions & 12 deletions node_modules/.bin/jsesc

This file was deleted.

12 changes: 0 additions & 12 deletions node_modules/.bin/json5

This file was deleted.

12 changes: 0 additions & 12 deletions node_modules/.bin/ncc

This file was deleted.

12 changes: 0 additions & 12 deletions node_modules/.bin/node-which

This file was deleted.

12 changes: 0 additions & 12 deletions node_modules/.bin/parser

This file was deleted.

12 changes: 0 additions & 12 deletions node_modules/.bin/prettier

This file was deleted.

12 changes: 0 additions & 12 deletions node_modules/.bin/remarkable

This file was deleted.

1 change: 1 addition & 0 deletions node_modules/.bin/remarkable

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions node_modules/.bin/rimraf

This file was deleted.

12 changes: 0 additions & 12 deletions node_modules/.bin/semver

This file was deleted.

12 changes: 0 additions & 12 deletions node_modules/.bin/ts-jest

This file was deleted.

12 changes: 0 additions & 12 deletions node_modules/.bin/tsc

This file was deleted.

Loading

0 comments on commit 6aaa7da

Please sign in to comment.