Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: octokit/core.js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.5.1
Choose a base ref
...
head repository: octokit/core.js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.6.0
Choose a head ref
  • 17 commits
  • 9 files changed
  • 6 contributors

Commits on Jun 15, 2021

  1. 1
    Copy the full SHA
    cd5328a View commit details

Commits on Jun 21, 2021

  1. Copy the full SHA
    e8c5972 View commit details

Commits on Jun 26, 2021

  1. chore(deps): update dependency prettier to v2.3.2

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jun 26, 2021
    1
    Copy the full SHA
    5e85e82 View commit details

Commits on Jul 19, 2021

  1. Copy the full SHA
    01af492 View commit details

Commits on Aug 10, 2021

  1. chore(deps): update dependency @types/jest to v27

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Aug 10, 2021
    1
    Copy the full SHA
    7644b3d View commit details

Commits on Sep 3, 2021

  1. build(deps): uninstall @types/node-fetch

    closes #381
    gr2m committed Sep 3, 2021
    3
    Copy the full SHA
    f938971 View commit details

Commits on Sep 9, 2021

  1. chore(deps): update dependency prettier to v2.4.0

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 9, 2021
    1
    Copy the full SHA
    a2a222e View commit details

Commits on Sep 16, 2021

  1. chore(deps): update dependency prettier to v2.4.1

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 16, 2021
    Copy the full SHA
    1703e65 View commit details

Commits on Sep 17, 2021

  1. Copy the full SHA
    884f1b1 View commit details
  2. Copy the full SHA
    2959aea View commit details
  3. Copy the full SHA
    2068d66 View commit details
  4. 2
    Copy the full SHA
    84d10df View commit details

Commits on Sep 21, 2021

  1. build(deps): update dependency tmpl to 1.0.5 [security] (#392)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 21, 2021
    Copy the full SHA
    9db33a3 View commit details

Commits on Sep 23, 2021

  1. chore(deps): update dependency http-proxy-agent to v5

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 23, 2021
    1
    Copy the full SHA
    ccbcd47 View commit details

Commits on Jan 26, 2022

  1. Copy the full SHA
    5c6c3a0 View commit details

Commits on Mar 3, 2022

  1. Copy the full SHA
    0151ef0 View commit details

Commits on Mar 13, 2022

  1. 4
    Copy the full SHA
    7081bb3 View commit details
Showing with 7,995 additions and 7,839 deletions.
  1. +17 −47 .github/workflows/codeql.yml
  2. +3 −4 .github/workflows/release.yml
  3. +1 −6 .github/workflows/test.yml
  4. +5 −3 .github/workflows/update-prettier.yml
  5. +12 −4 README.md
  6. +7,888 −7,766 package-lock.json
  7. +6 −7 package.json
  8. +2 −2 src/types.ts
  9. +61 −0 test/graphql.test.ts
64 changes: 17 additions & 47 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,52 +1,22 @@
name: "Code scanning - action"

on:
push:
pull_request:
name: Code scanning - action
"on":
push: null
pull_request: null
schedule:
- cron: '0 19 * * 0'

- cron: 0 19 * * 0
jobs:
CodeQL-Build:

# CodeQL runs on ubuntu-latest and windows-latest
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2

# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 2
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
- name: Autobuild
uses: github/codeql-action/autobuild@v1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: Release
on:
"on":
push:
branches:
- master
- next
- beta
- "*.x" # maintenance releases

- "*.x"
jobs:
release:
name: release
@@ -15,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "12.x"
node-version: 16
- run: npm ci
- run: npm run build
- run: npx semantic-release
7 changes: 1 addition & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -25,12 +25,7 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
cache: npm
- run: npm ci
- run: npm test --ignore-scripts # run lint only once

8 changes: 5 additions & 3 deletions .github/workflows/update-prettier.yml
Original file line number Diff line number Diff line change
@@ -11,13 +11,15 @@ jobs:
- uses: actions/setup-node@v2
with:
version: 12
cache: npm
node-version: 16
- 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.OCTOKITBOT_PAT }}"
GITHUB_TOKEN: ${{ secrets.OCTOKITBOT_PAT }}
with:
title: Prettier updated
body: An update to prettier required updates to your code.
branch: "${{ github.ref }}"
branch: ${{ github.ref }}
commit-message: "style: prettier"
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -423,11 +423,19 @@ You can build your own Octokit class with preset default options and plugins. In
```js
const { Octokit } = require("@octokit/core");
const MyActionOctokit = Octokit.plugin(
require("@octokit/plugin-paginate-rest"),
require("@octokit/plugin-throttling"),
require("@octokit/plugin-retry")
require("@octokit/plugin-paginate-rest").paginateRest,
require("@octokit/plugin-throttling").throttling,
require("@octokit/plugin-retry").retry
).defaults({
authStrategy: require("@octokit/auth-action"),
throttle: {
onAbuseLimit: (retryAfter, options) => {
/* ... */
},
onRateLimit: (retryAfter, options) => {
/* ... */
},
},
authStrategy: require("@octokit/auth-action").createActionAuth,
userAgent: `my-octokit-action/v1.2.3`,
});

Loading