Skip to content

Commit 9537374

Browse files
authored
feat: GHES 3.14: Changes in generated code (#70)
* New updates to generated code * New updates to generated code
1 parent 0947287 commit 9537374

File tree

2,435 files changed

+337515
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,435 files changed

+337515
-3
lines changed

.github/ISSUE_TEMPLATE/bug.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Bug
2+
description: File a bug report
3+
title: "[BUG]: "
4+
labels: ["Type: Bug", "Status: Triage"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to fill out this bug report!
10+
- type: textarea
11+
id: what-happened
12+
attributes:
13+
label: What happened?
14+
description: What did you do? What happened? What did you expect to happen?
15+
placeholder: Put your description of the bug here.
16+
validations:
17+
required: true
18+
- type: textarea
19+
id: versions
20+
attributes:
21+
label: Versions
22+
description: What versions of the relevant software are you running?
23+
placeholder: octokit/dotnet-sdk v0.0.1, .net v8.0
24+
validations:
25+
required: true
26+
- type: checkboxes
27+
id: terms
28+
attributes:
29+
label: Code of Conduct
30+
description: By submitting this issue, you agree to follow our [Code of Conduct](CODE_OF_CONDUCT.md)
31+
options:
32+
- label: I agree to follow this project's Code of Conduct
33+
required: true
+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Documentation
2+
description: Update or add documentation
3+
title: "[DOCS]: "
4+
labels: ["Type: Documentation", "Status: Triage"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to fill this out!
10+
- type: textarea
11+
id: describe-need
12+
attributes:
13+
label: Describe the need
14+
description: What do you wish was different about our docs?
15+
placeholder: Describe the need for documentation updates here.
16+
validations:
17+
required: true
18+
- type: input
19+
id: sdk_version
20+
attributes:
21+
label: SDK Version
22+
description: Do these docs apply to a specific SDK version?
23+
placeholder: octokit/dotnet-sdk v0.0.1
24+
validations:
25+
required: false
26+
- type: input
27+
id: api_version
28+
attributes:
29+
label: API Version
30+
description: Do these docs apply to a specific version of the GitHub REST API or GraphQL API?
31+
placeholder: ex. v1.1.1
32+
validations:
33+
required: false
34+
- type: checkboxes
35+
id: terms
36+
attributes:
37+
label: Code of Conduct
38+
description: By submitting this issue, you agree to follow our [Code of Conduct](CODE_OF_CONDUCT.md)
39+
options:
40+
- label: I agree to follow this project's Code of Conduct
41+
required: true

.github/ISSUE_TEMPLATE/feature.yml

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Feature
2+
description: Suggest an idea for a new feature or enhancement
3+
title: "[FEAT]: "
4+
labels: ["Type: Feature", "Status: Triage"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to fill this out!
10+
- type: textarea
11+
id: describe-need
12+
attributes:
13+
label: Describe the need
14+
description: What do you want to happen? What problem are you trying to solve?
15+
placeholder: Describe the need for the feature.
16+
validations:
17+
required: true
18+
- type: input
19+
id: sdk_version
20+
attributes:
21+
label: SDK Version
22+
description: Does this feature suggestion apply to a specific SDK version?
23+
placeholder: octokit/dotnet-sdk v0.0.1
24+
validations:
25+
required: false
26+
- type: input
27+
id: api_version
28+
attributes:
29+
label: API Version
30+
description: Does this feature suggestion apply to a specific version of the GitHub REST API or GraphQL API?
31+
placeholder: ex. v1.1.1
32+
validations:
33+
required: false
34+
- type: checkboxes
35+
id: terms
36+
attributes:
37+
label: Code of Conduct
38+
description: By submitting this issue, you agree to follow our [Code of Conduct](CODE_OF_CONDUCT.md)
39+
options:
40+
- label: I agree to follow this project's Code of Conduct
41+
required: true
+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Maintenance
2+
description: Dependencies, cleanup, refactoring, reworking of code
3+
title: "[MAINT]: "
4+
labels: ["Type: Maintenance", "Status: Triage"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to fill this out!
10+
- type: textarea
11+
id: describe-need
12+
attributes:
13+
label: Describe the need
14+
description: What do you want to happen?
15+
placeholder: Describe the maintenance need here.
16+
validations:
17+
required: true
18+
- type: input
19+
id: sdk_version
20+
attributes:
21+
label: SDK Version
22+
description: Does this maintenance apply to a specific SDK version?
23+
placeholder: octokit/dotnet-sdk v0.0.1
24+
validations:
25+
required: false
26+
- type: input
27+
id: api_version
28+
attributes:
29+
label: API Version
30+
description: Does this maintenance apply to a specific version of the GitHub REST API or GraphQL API?
31+
placeholder: ex. v1.1.1
32+
validations:
33+
required: false
34+
- type: checkboxes
35+
id: terms
36+
attributes:
37+
label: Code of Conduct
38+
description: By submitting this issue, you agree to follow our [Code of Conduct](CODE_OF_CONDUCT.md)
39+
options:
40+
- label: I agree to follow this project's Code of Conduct
41+
required: true

.github/pull_request_template.md

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<!-- Please refer to our contributing docs for any questions on submitting a pull request -->
2+
<!-- Issues are required for both bug fixes and features. -->
3+
Resolves #ISSUE_NUMBER
4+
5+
----
6+
7+
### Before the change?
8+
<!-- Please describe the current behavior that you are modifying. -->
9+
10+
*
11+
12+
### After the change?
13+
<!-- Please describe the behavior or changes that are being added by this PR. -->
14+
15+
*
16+
17+
### Pull request checklist
18+
- [ ] Tests for the changes have been added (for bug fixes / features)
19+
- [ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)
20+
21+
### Does this introduce a breaking change?
22+
<!-- If this introduces a breaking change make sure to note it here any what the impact might be -->
23+
24+
Please see our docs on [breaking changes](https://github.com/octokit/.github/blob/master/community/breaking_changes.md) to help!
25+
26+
- [ ] Yes
27+
- [ ] No
28+
29+
----
30+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Add PRs and issues to Octokit org project
2+
3+
on:
4+
issues:
5+
types: [reopened, opened]
6+
pull_request_target:
7+
types: [reopened, opened]
8+
9+
jobs:
10+
add-to-project:
11+
name: Add issue to project
12+
runs-on: ubuntu-latest
13+
continue-on-error: true
14+
steps:
15+
- uses: actions/[email protected]
16+
with:
17+
project-url: https://github.com/orgs/octokit/projects/10
18+
github-token: ${{ secrets.OCTOKITBOT_PROJECT_ACTION_TOKEN }}
19+
labeled: "Status: Stale"
20+
label-operator: NOT

.github/workflows/build.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: "Build and validate Go generated SDK"
2+
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
push:
7+
branches:
8+
- 3.14
9+
10+
jobs:
11+
build:
12+
strategy:
13+
fail-fast: false
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v3
19+
20+
- uses: actions/[email protected]
21+
with:
22+
go-version: '1.21.4'
23+
24+
- name: Build the SDK
25+
run: go build ./...
26+
27+
- name: Run unit tests
28+
run: go test ./...
+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Issue/PR response
2+
permissions:
3+
issues: write
4+
pull-requests: write
5+
on:
6+
issues:
7+
types:
8+
- opened
9+
pull_request_target:
10+
types:
11+
- opened
12+
jobs:
13+
respond-to-issue:
14+
if: ${{ github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]' && github.actor != 'githubactions[bot]' && github.actor != 'octokitbot' }}
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Determine issue or PR number
18+
id: extract
19+
run: echo "NUMBER=${{ github.event.issue.number || github.event.pull_request.number }}" >> "$GITHUB_OUTPUT"
20+
21+
- name: Respond to issue or PR
22+
uses: peter-evans/create-or-update-comment@v4
23+
with:
24+
issue-number: ${{ steps.extract.outputs.NUMBER }}
25+
body: >
26+
👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday!
27+
We have a [process in place](https://github.com/octokit/.github/blob/main/community/prioritization_response.md#overview) for prioritizing and responding to your input.
28+
Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with `Status: Up for grabs`.
29+
You & others like you are the reason all of this works! So thank you & happy coding! 🚀

.github/workflows/lint.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: golangci-lint
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
8+
permissions:
9+
contents: read
10+
checks: write
11+
12+
jobs:
13+
golangci:
14+
name: lint
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v3
18+
- uses: actions/setup-go@v4
19+
with:
20+
go-version: '1.21'
21+
cache: false
22+
- name: golangci-lint
23+
uses: golangci/golangci-lint-action@v3
24+
with:
25+
version: v1.55
26+
27+
# Optional: golangci-lint command line arguments.
28+
#
29+
# Note: By default, the `.golangci.yml` file should be at the root of the repository.
30+
# The location of the configuration file can be changed by using `--config=`
31+
# args: --timeout=30m --config=/my/path/.golangci.yml --issues-exit-code=0
32+

0 commit comments

Comments
 (0)