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/auth-token.js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8c56e5c4fa1f4337e6751716a190d5e1222a3500
Choose a base ref
...
head repository: octokit/auth-token.js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 72cc51b802c98d985e243f4a74ed567bcb8a7efa
Choose a head ref
Loading
Showing with 6,928 additions and 9,995 deletions.
  1. +5 −0 .github/renovate.json
  2. +4 −4 .github/workflows/codeql.yml
  3. +2 −3 .github/workflows/release.yml
  4. +4 −10 .github/workflows/test.yml
  5. +1 −1 .github/workflows/update-prettier.yml
  6. +6,905 −9,965 package-lock.json
  7. +7 −12 package.json
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.yml
Original file line number Diff line number Diff line change
@@ -16,23 +16,23 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@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@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@v2
uses: github/codeql-action/autobuild@v2 # tag=v2

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

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v2 # tag=v2
5 changes: 2 additions & 3 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
14 changes: 4 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -7,7 +7,6 @@ name: Test
types:
- opened
- synchronize

jobs:
test_matrix:
runs-on: ubuntu-latest
@@ -17,31 +16,26 @@ jobs:
- 14
- 16
- 18

steps:
- uses: actions/checkout@v3
- name: Setup Node v${{ matrix.node_version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
cache: npm
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- run: npm test --ignore-scripts # run lint only once

- run: npm test --ignore-scripts
test:
runs-on: ubuntu-latest
needs: test_matrix
steps:
- run: exit 1
if: ${{ needs.test_matrix.result != 'success' }}
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: npm
- run: npm ci
- run: npm run lint
if: ${{ always() }}
2 changes: 1 addition & 1 deletion .github/workflows/update-prettier.yml
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ jobs:
update_prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: npm
Loading