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-error.js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0a86afe38fdffc884b29c3e466d1f29d5cebee45
Choose a base ref
...
head repository: octokit/request-error.js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 82c78fc8de229267289882de35184ddd1b4fbe42
Choose a head ref

Commits on Jul 8, 2022

  1. chore(deps): update jest monorepo to v28 (major) (#228)

    chore(deps): update jest monorepo to v28
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 8, 2022
    Copy the full SHA
    6e818a0 View commit details

Commits on Jul 9, 2022

  1. Copy the full SHA
    3697dc5 View commit details

Commits on Jul 11, 2022

  1. build(deps): lock file maintenance (#239)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 11, 2022
    Copy the full SHA
    9aad429 View commit details
  2. Copy the full SHA
    45d2690 View commit details
  3. ci(action): update actions/setup-node digest to 5b949b5 (#241)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 11, 2022
    Copy the full SHA
    8e6d481 View commit details

Commits on Jul 12, 2022

  1. Copy the full SHA
    3d70762 View commit details

Commits on Jul 13, 2022

  1. ci(action): update github/codeql-action digest to 3e7e3b3 (#243)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 13, 2022
    Copy the full SHA
    72fcc63 View commit details

Commits on Jul 14, 2022

  1. ci(action): update actions/setup-node digest to 2fddd88 (#244)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 14, 2022
    Copy the full SHA
    5ab83df View commit details

Commits on Jul 18, 2022

  1. build(deps): lock file maintenance (#245)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 18, 2022
    Copy the full SHA
    b995ae2 View commit details

Commits on Jul 25, 2022

  1. build(deps): lock file maintenance (#247)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 25, 2022
    Copy the full SHA
    e693799 View commit details

Commits on Jul 29, 2022

  1. ci(action): update github/codeql-action digest to 0c670bb

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 29, 2022
    Copy the full SHA
    700c1f5 View commit details

Commits on Aug 1, 2022

  1. build(deps): lock file maintenance (#249)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 1, 2022
    Copy the full SHA
    724f946 View commit details

Commits on Aug 3, 2022

  1. ci(action): update github/codeql-action digest to 2ca79b6

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 3, 2022
    Copy the full SHA
    157ea02 View commit details

Commits on Aug 8, 2022

  1. build(deps): lock file maintenance (#251)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 8, 2022
    Copy the full SHA
    5755f12 View commit details

Commits on Aug 15, 2022

  1. build(deps): lock file maintenance (#253)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 15, 2022
    Copy the full SHA
    4aaf736 View commit details
  2. fix(deps): update dependency @octokit/types to v7 (#254)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 15, 2022
    Copy the full SHA
    5abe81a View commit details

Commits on Aug 19, 2022

  1. ci(action): update github/codeql-action digest to f5d217b (#255)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 19, 2022
    Copy the full SHA
    15c51e1 View commit details

Commits on Aug 22, 2022

  1. build(deps): lock file maintenance (#256)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 22, 2022
    Copy the full SHA
    dc986e4 View commit details
  2. ci(action): update github/codeql-action digest to 7fee4ca (#257)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 22, 2022
    Copy the full SHA
    db3c1b7 View commit details

Commits on Aug 25, 2022

  1. ci(action): update github/codeql-action digest to c7f292e (#258)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 25, 2022
    Copy the full SHA
    e9e1449 View commit details

Commits on Aug 29, 2022

  1. build(deps): lock file maintenance (#260)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 29, 2022
    Copy the full SHA
    aac0be9 View commit details

Commits on Sep 1, 2022

  1. ci(action): update github/codeql-action digest to b398f52 (#261)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 1, 2022
    Copy the full SHA
    c872fd8 View commit details
  2. Copy the full SHA
    5e59d90 View commit details
  3. ci(action): update actions/setup-node digest to 9efe00a (#263)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 1, 2022
    Copy the full SHA
    26131e1 View commit details

Commits on Sep 5, 2022

  1. build(deps): lock file maintenance (#264)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 5, 2022
    Copy the full SHA
    cd74585 View commit details
  2. ci(action): update actions/setup-node digest to b4b18e5 (#265)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 5, 2022
    Copy the full SHA
    1300733 View commit details

Commits on Sep 8, 2022

  1. ci(action): update actions/setup-node digest to 30f0e7d

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 8, 2022
    Copy the full SHA
    c81ab5d View commit details
  2. build: renovate setup

    gr2m committed Sep 8, 2022
    Copy the full SHA
    f1ba059 View commit details
  3. Copy the full SHA
    2074b5c View commit details

Commits on Sep 9, 2022

  1. chore(deps): update jest monorepo to v29 (major)

    chore(deps): update jest monorepo to v29
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 9, 2022
    Copy the full SHA
    84654d5 View commit details

Commits on Sep 12, 2022

  1. build(deps): lock file maintenance (#267)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 12, 2022
    Copy the full SHA
    f80f856 View commit details
  2. ci(action): update actions/setup-node digest to 9f3a02b (#268)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 12, 2022
    Copy the full SHA
    6f0f7c8 View commit details

Commits on Sep 15, 2022

  1. ci(action): update github/codeql-action digest to 6a38b7d

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 15, 2022
    Copy the full SHA
    bdbeeaa View commit details

Commits on Sep 16, 2022

  1. ci(action): update github/codeql-action digest to 904260d (#270)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 16, 2022
    Copy the full SHA
    f59f915 View commit details

Commits on Sep 19, 2022

  1. build(deps): lock file maintenance (#271)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 19, 2022
    Copy the full SHA
    216e8ca View commit details
  2. build(deps): lock file maintenance (#272)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 19, 2022
    Copy the full SHA
    b8c60b1 View commit details

Commits on Sep 21, 2022

  1. ci(action): update github/codeql-action digest to 86f3159 (#273)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 21, 2022
    Copy the full SHA
    aec194d View commit details

Commits on Sep 26, 2022

  1. ci(action): update actions/setup-node digest to 969bd26

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 26, 2022
    Copy the full SHA
    d187e25 View commit details
  2. build(deps): lock file maintenance

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 26, 2022
    Copy the full SHA
    033ddc1 View commit details
  3. ci(action): update actions/checkout digest to e6d535c

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 26, 2022
    Copy the full SHA
    1657953 View commit details
  4. Copy the full SHA
    3da54af View commit details

Commits on Sep 27, 2022

  1. Copy the full SHA
    d58246b View commit details
  2. Copy the full SHA
    97dd479 View commit details
  3. Copy the full SHA
    abf47fb View commit details
  4. Copy the full SHA
    bee21c5 View commit details
  5. Copy the full SHA
    f3c15f8 View commit details
  6. Copy the full SHA
    1dca1f8 View commit details
  7. Copy the full SHA
    d04f748 View commit details
  8. Copy the full SHA
    9be4bfd View commit details
  9. Copy the full SHA
    08cc32d View commit details
41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Bug
description: File a bug report
title: "[BUG]: "
labels: ["Type: Bug", "Status: Triage"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: what-happened
attributes:
label: What happened?
description: What did you do? What happened? What did you expect to happen?
placeholder: Put your description of the bug here.
validations:
required: true
- type: textarea
id: versions
attributes:
label: Versions
description: What versions of the relevant software are you running?
placeholder: Octokit.js v2.0.10, Node v16.18.0
validations:
required: true
- type: textarea
id: logs
attributes:
label: Relevant log output
description: |
Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
Please check your logs before submission to ensure sensitive information is redacted.
render: shell
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
49 changes: 49 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Documentation
description: Update or add documentation
title: "[DOCS]: "
labels: ["Type: Documentation", "Status: Triage"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill this out!
- type: textarea
id: describe-need
attributes:
label: Describe the need
description: What do you wish was different about our docs?
placeholder: Describe the need for documentation updates here.
validations:
required: true
- type: input
id: sdk_version
attributes:
label: SDK Version
description: Do these docs apply to a specific SDK version?
placeholder: Octokit.NET v4.0.1
validations:
required: false
- type: input
id: api_version
attributes:
label: API Version
description: Do these docs apply to a specific version of the GitHub REST API or GraphQL API?
placeholder: ex. v1.1.1
validations:
required: false
- type: textarea
id: logs
attributes:
label: Relevant log output
description: |
Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
Please check your logs before submission to ensure sensitive information is redacted.
render: shell
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
49 changes: 49 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Feature
description: Suggest an idea for a new feature or enhancement
title: "[FEAT]: "
labels: ["Type: Feature", "Status: Triage"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill this out!
- type: textarea
id: describe-need
attributes:
label: Describe the need
description: What do you want to happen? What problem are you trying to solve?
placeholder: Describe the need for the feature.
validations:
required: true
- type: input
id: sdk_version
attributes:
label: SDK Version
description: Does this feature suggestion apply to a specific SDK version?
placeholder: Octokit.rb v6.0.0
validations:
required: false
- type: input
id: api_version
attributes:
label: API Version
description: Does this feature suggestion apply to a specific version of the GitHub REST API or GraphQL API?
placeholder: ex. v1.1.1
validations:
required: false
- type: textarea
id: logs
attributes:
label: Relevant log output
description: |
Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
Please check your logs before submission to ensure sensitive information is redacted.
render: shell
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
49 changes: 49 additions & 0 deletions .github/ISSUE_TEMPLATE/maintenance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Maintenance
description: Dependencies, cleanup, refactoring, reworking of code
title: "[MAINT]: "
labels: ["Type: Maintenance", "Status: Triage"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill this out!
- type: textarea
id: describe-need
attributes:
label: Describe the need
description: What do you want to happen?
placeholder: Describe the maintenance need here.
validations:
required: true
- type: input
id: sdk_version
attributes:
label: SDK Version
description: Does this maintenance apply to a specific SDK version?
placeholder: terraform-provider-github v5.7.0
validations:
required: false
- type: input
id: api_version
attributes:
label: API Version
description: Does this maintenance apply to a specific version of the GitHub REST API or GraphQL API?
placeholder: ex. v1.1.1
validations:
required: false
- type: textarea
id: logs
attributes:
label: Relevant log output
description: |
Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
Please check your logs before submission to ensure sensitive information is redacted.
render: shell
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
61 changes: 61 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<!-- Please refer to our contributing docs for any questions on submitting a pull request -->


<!-- Issues are required for both bug fixes and features. -->
Resolves #ISSUE_NUMBER

----

## Behavior

### Before the change?
<!-- Please describe the current behavior that you are modifying. -->

*

### After the change?
<!-- Please describe the behavior or changes that are being added by this PR. -->

*


### Other information
<!-- Any other information that is important to this PR -->

*

----

## Additional info

### Pull request checklist
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)
- [ ] Added the appropriate label for the given change

### Does this introduce a breaking change?
<!-- If this introduces a breaking change make sure to note it here any what the impact might be -->

Please see our docs on [breaking changes](https://github.com/octokit/.github/blob/main/community/breaking_changes.md) to help!

- [ ] Yes (Please add the `Type: Breaking change` label)
- [ ] No

If `Yes`, what's the impact:

* N/A


### Pull request type

<!-- Please do not submit updates to dependencies unless it fixes an issue. -->
<!-- Please try to limit your pull request to one type, submit multiple pull requests if needed. -->

Please add the corresponding label for change this PR introduces:
- Bugfix: `Type: Bug`
- Feature/model/API additions: `Type: Feature`
- Updates to docs or samples: `Type: Documentation`
- Dependencies/code cleanup: `Type: Maintenance`

----

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"
]
}
20 changes: 20 additions & 0 deletions .github/workflows/add_to_octokit_project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Add PRs and issues to Octokit org project

on:
issues:
types: [reopened, opened]
pull_request_target:
types: [reopened, opened]

jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/add-to-project@v0.4.0
with:
project-url: https://github.com/orgs/octokit/projects/10
github-token: ${{ secrets.OCTOKITBOT_PROJECT_ACTION_TOKEN }}
labeled: "Status: Stale"
label-operator: NOT
13 changes: 4 additions & 9 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -16,28 +16,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

# 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@3f62b754e23e0dd60f91b744033e1dc1654c0ec6 # 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@3f62b754e23e0dd60f91b744033e1dc1654c0ec6 # tag=v2
uses: github/codeql-action/autobuild@v2 # tag=v2

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

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@3f62b754e23e0dd60f91b744033e1dc1654c0ec6 # tag=v2
uses: github/codeql-action/analyze@v2 # tag=v2
13 changes: 6 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
name: Release
on:
"on":
push:
branches:
- master
- main
- next
- beta
- "*.x" # maintenance releases

- "*.x"
jobs:
release:
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
- uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # tag=v3
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: lts/*
cache: npm
- run: npm ci
- run: npm run build
24 changes: 17 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@ name: Test
"on":
push:
branches:
- master
- main
pull_request:
types:
- opened
- synchronize
jobs:
test:
test_matrix:
runs-on: ubuntu-latest
strategy:
matrix:
@@ -17,13 +17,23 @@ jobs:
- 16
- 18
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
- name: "Use Node.js ${{ matrix.node_version }}"
uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # 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
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
- run: npm ci
- run: npm run lint
if: ${{ always() }}
Loading