Skip to content

Commit d3086ac

Browse files
chore(deps): update dependency prettier to v3.1.0 (#696)
* chore(deps): update dependency prettier to v3.1.0 * fixes linting issues --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nick Floyd <[email protected]>
1 parent 755f26c commit d3086ac

File tree

8 files changed

+53
-56
lines changed

8 files changed

+53
-56
lines changed

.github/pull_request_template.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,34 @@
11
<!-- Please refer to our contributing docs for any questions on submitting a pull request -->
22
<!-- Issues are required for both bug fixes and features. -->
3+
34
Resolves #ISSUE_NUMBER
45

5-
----
6+
---
67

78
### Before the change?
9+
810
<!-- Please describe the current behavior that you are modifying. -->
911

10-
*
12+
-
1113

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

15-
*
18+
-
1619

1720
### Pull request checklist
21+
1822
- [ ] Tests for the changes have been added (for bug fixes / features)
1923
- [ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)
2024

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

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

2631
- [ ] Yes
2732
- [ ] No
2833

29-
----
30-
34+
---

.github/renovate.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
{
2-
"extends": [
3-
"github>octokit/.github"
4-
]
2+
"extends": ["github>octokit/.github"]
53
}

.github/workflows/codeql.yml

Lines changed: 33 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -6,44 +6,43 @@ on:
66
- "dependabot/**"
77
pull_request:
88
schedule:
9-
- cron: '0 19 * * 0'
9+
- cron: "0 19 * * 0"
1010

1111
jobs:
1212
CodeQL-Build:
13-
1413
# CodeQL runs on ubuntu-latest and windows-latest
1514
runs-on: ubuntu-latest
1615

1716
steps:
18-
- name: Checkout repository
19-
uses: actions/checkout@v4
20-
with:
21-
# We must fetch at least the immediate parents so that if this is
22-
# a pull request then we can checkout the head.
23-
fetch-depth: 2
24-
25-
# Initializes the CodeQL tools for scanning.
26-
- name: Initialize CodeQL
27-
uses: github/codeql-action/init@v2 # tag=v2
28-
# Override language selection by uncommenting this and choosing your languages
29-
# with:
30-
# languages: go, javascript, csharp, python, cpp, java
31-
32-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
33-
# If this step fails, then you should remove it and run the build manually (see below)
34-
- name: Autobuild
35-
uses: github/codeql-action/autobuild@v2 # tag=v2
36-
37-
# ℹ️ Command-line programs to run using the OS shell.
38-
# 📚 https://git.io/JvXDl
39-
40-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
41-
# and modify them (or add more) to build your code if your project
42-
# uses a compiled language
43-
44-
#- run: |
45-
# make bootstrap
46-
# make release
47-
48-
- name: Perform CodeQL Analysis
49-
uses: github/codeql-action/analyze@v2 # tag=v2
17+
- name: Checkout repository
18+
uses: actions/checkout@v4
19+
with:
20+
# We must fetch at least the immediate parents so that if this is
21+
# a pull request then we can checkout the head.
22+
fetch-depth: 2
23+
24+
# Initializes the CodeQL tools for scanning.
25+
- name: Initialize CodeQL
26+
uses: github/codeql-action/init@v2 # tag=v2
27+
# Override language selection by uncommenting this and choosing your languages
28+
# with:
29+
# languages: go, javascript, csharp, python, cpp, java
30+
31+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
32+
# If this step fails, then you should remove it and run the build manually (see below)
33+
- name: Autobuild
34+
uses: github/codeql-action/autobuild@v2 # tag=v2
35+
36+
# ℹ️ Command-line programs to run using the OS shell.
37+
# 📚 https://git.io/JvXDl
38+
39+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
40+
# and modify them (or add more) to build your code if your project
41+
# uses a compiled language
42+
43+
#- run: |
44+
# make bootstrap
45+
# make release
46+
47+
- name: Perform CodeQL Analysis
48+
uses: github/codeql-action/analyze@v2 # tag=v2

CODE_OF_CONDUCT.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,3 @@ available at [https://contributor-covenant.org/version/1/4][version]
7272

7373
[homepage]: https://contributor-covenant.org
7474
[version]: https://contributor-covenant.org/version/1/4/
75-

SECURITY.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ Thanks for helping make GitHub Open Source Software safe for everyone.
44

55
GitHub takes the security of our software products and services seriously, including all of the open source code repositories managed through our GitHub organizations, such as [Octokit](https://github.com/octokit).
66

7-
Even though [open source repositories are outside of the scope of our bug bounty program](https://bounty.github.com/index.html#scope) and therefore not eligible for bounty rewards, we want to make sure that your finding gets passed along to the maintainers of this project for remediation.
8-
7+
Even though [open source repositories are outside of the scope of our bug bounty program](https://bounty.github.com/index.html#scope) and therefore not eligible for bounty rewards, we want to make sure that your finding gets passed along to the maintainers of this project for remediation.
98

109
## Reporting a Vulnerability
1110

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"lodash.upperfirst": "^4.3.1",
4444
"mustache": "^4.0.0",
4545
"npm-run-all": "^4.1.5",
46-
"prettier": "3.0.3",
46+
"prettier": "3.1.0",
4747
"semantic-release-plugin-update-version-in-files": "^1.0.0",
4848
"sinon": "^17.0.0",
4949
"sort-keys": "^5.0.0",

scripts/update-endpoints/types.mjs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -174,15 +174,13 @@ async function getRoutes() {
174174
newRoutes[before.scope][before.id] = newRoutes[scope][idName];
175175
}
176176

177-
newRoutes[before.scope][
178-
before.id
179-
].deprecated = `octokit.rest.${before.scope}.${before.id}() has been renamed to octokit.rest.${after.scope}.${after.id}() (${endpoint.renamed.date})`;
177+
newRoutes[before.scope][before.id].deprecated =
178+
`octokit.rest.${before.scope}.${before.id}() has been renamed to octokit.rest.${after.scope}.${after.id}() (${endpoint.renamed.date})`;
180179
}
181180

182181
if (endpoint.isDeprecated) {
183-
newRoutes[scope][
184-
idName
185-
].deprecated = `octokit.rest.${scope}.${idName}() is deprecated, see ${endpoint.documentationUrl}`;
182+
newRoutes[scope][idName].deprecated =
183+
`octokit.rest.${scope}.${idName}() is deprecated, see ${endpoint.documentationUrl}`;
186184
}
187185
});
188186

0 commit comments

Comments
 (0)