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/request.js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.2.1
Choose a base ref
...
head repository: octokit/request.js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v6.2.2
Choose a head ref
Loading
Showing with 1,787 additions and 2,022 deletions.
  1. +5 −0 .github/renovate.json
  2. +4 −4 .github/workflows/codeql-analysis.yml
  3. +2 −2 .github/workflows/release.yml
  4. +9 −6 .github/workflows/test.yml
  5. +2 −2 .github/workflows/update-prettier.yml
  6. +1,759 −1,991 package-lock.json
  7. +4 −9 package.json
  8. +2 −8 test/request.test.ts
5 changes: 5 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": [
"github>octokit/.github"
]
}
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -18,23 +18,23 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
uses: actions/checkout@v3 # tag=v3
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

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@3e7e3b32d0fb8283594bb0a76cc60a00918b0969 # tag=v2
uses: github/codeql-action/init@v2 # tag=v2
# 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@3e7e3b32d0fb8283594bb0a76cc60a00918b0969 # tag=v2
uses: github/codeql-action/autobuild@v2 # tag=v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
@@ -48,4 +48,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@3e7e3b32d0fb8283594bb0a76cc60a00918b0969 # tag=v2
uses: github/codeql-action/analyze@v2 # tag=v2
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -11,8 +11,8 @@ jobs:
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
- uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: npm
15 changes: 9 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -18,20 +18,23 @@ jobs:
- 16
- 18
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
- name: "Use Node.js ${{ matrix.node_version }}"
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v3
with:
node-version: "${{ matrix.node_version }}"
node-version: ${{ matrix.node_version }}
cache: npm
- name: Install
run: npm ci
- name: Test
run: npm test --ignore-scripts # run lint only once
run: npm test --ignore-scripts
test:
runs-on: ubuntu-latest
needs: test_matrix
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
- run: exit 1
if: ${{ needs.test_matrix.result != 'success' }}
- uses: actions/checkout@v3
- run: npm ci
- run: npm run lint
if: ${{ always() }}
4 changes: 2 additions & 2 deletions .github/workflows/update-prettier.yml
Original file line number Diff line number Diff line change
@@ -7,8 +7,8 @@ jobs:
update_prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: npm
Loading