Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
596 commits
Select commit Hold shift + click to select a range
0fac2a9
Make sure we refresh the PRs with the PR API (and not the issues API)…
gsmet Mar 11, 2024
eb269bd
Do not populate repo list in case of installation:deleted event (#1690)
Haarolean Mar 14, 2024
af19581
Implement ServiceDownException for case GitHub's API is down (#1813)
The-Huginn Mar 15, 2024
183ee8c
Support team, team_add, member and membership payloads (#1818)
gsmet Mar 18, 2024
5001541
Add Support for Retrieving Template Repository Information for a Repo…
jbenaventem Mar 18, 2024
8942fd1
Prepare release (bitwiseman): github-api-1.320
bitwiseman Mar 18, 2024
5f0f32d
Prepare for next development iteration
bitwiseman Mar 18, 2024
4f44fee
Merge pull request #1819 from hub4j/staging/main
bitwiseman Mar 18, 2024
092d254
Be a lot more flexible as for GHMemberChanges values
gsmet Mar 20, 2024
4462cc4
Reset staging/main when preparing release
bitwiseman Mar 20, 2024
c2b2f4e
Merge pull request #1821 from gsmet/fix-memberchanges
bitwiseman Mar 20, 2024
f60e914
Fix release workflow name
bitwiseman Mar 20, 2024
f7440e3
Fix the staging reset in release workflow
bitwiseman Mar 20, 2024
f6fd920
Prepare release (bitwiseman): github-api-1.321
bitwiseman Mar 20, 2024
25a1060
Prepare for next development iteration
bitwiseman Mar 20, 2024
35079e5
Merge pull request #1822 from hub4j/staging/main
bitwiseman Mar 20, 2024
7dc1d91
Add gh-pages to publish workflow
bitwiseman Mar 20, 2024
2b15fb4
Add release version to gh-pages publis
bitwiseman Mar 20, 2024
4bdf1fe
Fix visibility of getters in GHRequestedAction
yrodiere Mar 21, 2024
be680c7
Merge pull request #1824 from yrodiere/requested-action
bitwiseman Mar 25, 2024
24acc71
Chore(deps): Bump codecov/codecov-action from 4.1.0 to 4.1.1
dependabot[bot] Apr 1, 2024
c82fade
Chore(deps): Bump org.apache.maven.plugins:maven-javadoc-plugin
dependabot[bot] Apr 1, 2024
6767c7c
Chore(deps-dev): Bump org.awaitility:awaitility from 4.2.0 to 4.2.1
dependabot[bot] Apr 1, 2024
6aec6ba
Merge pull request #1829 from hub4j/dependabot/github_actions/codecov…
bitwiseman Apr 1, 2024
7e093d5
Merge pull request #1830 from hub4j/dependabot/maven/org.apache.maven…
bitwiseman Apr 1, 2024
6b2a487
Merge pull request #1831 from hub4j/dependabot/maven/org.awaitility-a…
bitwiseman Apr 1, 2024
d0db081
Add GHOrganization.listSecurityManagers()
kozmic Apr 12, 2024
0dc3700
Repository Renamed event
eleanorgoh Apr 22, 2024
f8afbbb
Repository Transferred event
eleanorgoh Apr 23, 2024
e685367
Refactor
eleanorgoh Apr 24, 2024
075d627
Generate data from dotcom and add support for transferred to user pay…
eleanorgoh Apr 25, 2024
c5ce1f6
Move GHRepositoryChanges under Repository class
eleanorgoh Apr 26, 2024
2e6dcc1
Merge pull request #1836 from eleanorgoh/main
bitwiseman Apr 27, 2024
793b277
Add integration test for GHOrganization.listSecurityManagers()
Apr 29, 2024
ea025b5
Merge branch 'main' into patch-1
kozmic Apr 29, 2024
9c8d83e
Chore(deps): Bump org.apache.maven.plugins:maven-jar-plugin
dependabot[bot] May 1, 2024
bf9a832
Chore(deps): Bump jjwt.suite.version from 0.12.3 to 0.12.5
dependabot[bot] May 1, 2024
a86b30f
Chore(deps): Bump codecov/codecov-action from 4.1.1 to 4.4.1
dependabot[bot] Jun 1, 2024
6f90933
Merge pull request #1840 from hub4j/dependabot/maven/jjwt.suite.versi…
bitwiseman Jun 6, 2024
faa1973
Merge pull request #1848 from hub4j/dependabot/github_actions/codecov…
bitwiseman Jun 6, 2024
bf6220c
Merge pull request #1839 from hub4j/dependabot/maven/org.apache.maven…
bitwiseman Jun 6, 2024
3043691
feat: get memberships of an organisation by username (#1850)
fv316 Jun 10, 2024
7c204fe
feat: List external groups in an organization
mestebangutierrez Apr 8, 2024
102e114
feat: Get an external group in an organization
mestebangutierrez Apr 8, 2024
33065b9
feat: List a connection between an external group and a team
mestebangutierrez Apr 8, 2024
4032144
feat: Update the connection between an external group and a team
mestebangutierrez Apr 8, 2024
6c10a03
feat: Remove the connection between an external group and a team
mestebangutierrez Apr 8, 2024
576c69e
impr: Remove unnecessary Jackson annotations
mestebangutierrez Jun 14, 2024
92e06f1
refactor: Rename external group iterable class
mestebangutierrez Jun 14, 2024
a3b9ee0
docs: Remove unnecessary documentation TODO note
mestebangutierrez Jun 14, 2024
f291f48
refactor: Rename exception handling methods to better reflect intent
mestebangutierrez Jun 14, 2024
a363a04
refactor: Apply page pattern for handling sets of external groups
mestebangutierrez Jun 14, 2024
1fccf4f
Fix API calls failing because of secondary api limits
jeetchoudhary Jun 14, 2024
58c5976
feat: add ability to add checks with app ids (#1844)
tginiotis-at-work Jun 15, 2024
c2ac4b0
Update src/main/java/org/kohsuke/github/GHExternalGroupPage.java
bitwiseman Jun 16, 2024
e0edb9d
Merge pull request #1835 from mestebangutierrez/support-external-groups
bitwiseman Jun 16, 2024
92112af
Merge branch 'main' into patch-1
bitwiseman Jun 17, 2024
dd274c3
Merge pull request #1832 from kozmic/patch-1
bitwiseman Jun 17, 2024
86cb8f8
Merge branch 'main' into main
jeetchoudhary Jun 17, 2024
8d6964d
Added unit tests
jeetchoudhary Jun 19, 2024
d0a1071
Merge pull request #1853 from jeetchoudhary/main
bitwiseman Jun 19, 2024
28035c8
Prepare release (bitwiseman): github-api-1.322
bitwiseman Jun 19, 2024
bb8569a
Prepare for next development iteration
bitwiseman Jun 19, 2024
edcb921
Merge pull request #1854 from hub4j/staging/main
bitwiseman Jun 19, 2024
7a06759
Update pom.xml with new OSSHR urls
bitwiseman Jun 20, 2024
65a1ecb
Update nexus-staging-maven-plugin to 1.7.0
bitwiseman Jun 20, 2024
733311f
Chore(deps): Bump spotbugs.version from 4.7.3 to 4.8.6
dependabot[bot] Jun 20, 2024
dae9c14
Chore(deps): Bump org.apache.commons:commons-lang3 from 3.9 to 3.14.0
dependabot[bot] Jun 20, 2024
379996d
Update CONTRIBUTING.md with correct build command line
bitwiseman Jun 20, 2024
702abb4
Clean up
bitwiseman Jun 20, 2024
499f047
Retain one constructor exception
bitwiseman Jun 20, 2024
a1acabd
Merge pull request #1856 from hub4j/dependabot/maven/spotbugs.version…
bitwiseman Jun 20, 2024
e7a2c02
Merge pull request #1800 from hub4j/dependabot/maven/org.apache.commo…
bitwiseman Jun 20, 2024
fcdf5c9
Update maven-build.yml
bitwiseman Jun 20, 2024
c3ba272
Update resources
bitwiseman Jun 20, 2024
f191180
Deprecate previews
bitwiseman Jun 20, 2024
723f8bf
Remove calls to preview
bitwiseman Jun 20, 2024
6d90891
Put one preview back
bitwiseman Jun 20, 2024
4d63d8c
Merge pull request #1859 from bitwiseman/task/remove-previews
bitwiseman Jun 20, 2024
f5c81ec
Chore(deps): Bump org.apache.maven.scm:maven-scm-manager-plexus
dependabot[bot] Jun 22, 2024
347a38e
Chore(deps): Bump org.apache.maven.plugins:maven-gpg-plugin
dependabot[bot] Jun 22, 2024
1c63ae2
Chore(deps): Bump org.apache.maven.plugins:maven-jar-plugin
dependabot[bot] Jun 22, 2024
2282a55
Chore(deps): Bump jjwt.suite.version from 0.12.5 to 0.12.6
dependabot[bot] Jun 22, 2024
e942edc
Add CODECOV_TOKEN for code coverage publishing
bitwiseman Jun 22, 2024
1f21788
Update maven-build.yml to codecov 4.5.0
bitwiseman Jun 22, 2024
3245aa4
Update maven-build.yml for codecov
bitwiseman Jun 22, 2024
1fb29fd
Update maven-build.yml
bitwiseman Jun 22, 2024
80a90d5
Merge pull request #1863 from hub4j/dependabot/maven/org.apache.maven…
bitwiseman Jun 22, 2024
95acf73
Merge pull request #1862 from hub4j/dependabot/maven/org.apache.maven…
bitwiseman Jun 22, 2024
fe2f51f
Merge pull request #1865 from hub4j/dependabot/maven/jjwt.suite.versi…
bitwiseman Jun 22, 2024
e021c27
Merge pull request #1861 from hub4j/dependabot/maven/org.apache.maven…
bitwiseman Jun 22, 2024
d000a78
Add token to codecov configuration (#1866)
bitwiseman Jun 23, 2024
2755f2a
Chore(deps): Bump org.apache.maven.scm:maven-scm-provider-gitexe (#1864)
dependabot[bot] Jun 23, 2024
fb44426
Chore(deps): Bump com.fasterxml.jackson:jackson-bom (#1868)
dependabot[bot] Jun 23, 2024
fcdedb6
Chore(deps): Bump org.apache.maven.plugins:maven-enforcer-plugin (#1874)
dependabot[bot] Jun 23, 2024
4fcf757
Chore(deps): Bump org.apache.maven.plugins:maven-compiler-plugin (#1873)
dependabot[bot] Jun 23, 2024
1423f01
Chore(deps-dev): Bump org.slf4j:slf4j-simple from 2.0.7 to 2.0.13 (#1…
dependabot[bot] Jun 23, 2024
36ef2db
Chore(deps): Bump codecov/codecov-action from 3 to 4 (#1870)
dependabot[bot] Jun 23, 2024
7f04262
Update codecov action to 4.5.0 (#1875)
bitwiseman Jun 23, 2024
bcf8787
Chore(deps): Bump org.apache.maven.plugins:maven-javadoc-plugin (#1876)
dependabot[bot] Jun 24, 2024
08d782b
Chore(deps): Bump org.apache.maven.plugins:maven-source-plugin (#1879)
dependabot[bot] Jun 24, 2024
559a549
Chore(deps): Bump org.apache.maven.plugins:maven-project-info-reports…
dependabot[bot] Jun 24, 2024
fb5e81a
Chore(deps): Bump org.apache.maven.plugins:maven-release-plugin (#1884)
dependabot[bot] Jun 24, 2024
d9ccd9f
Chore(deps-dev): Bump com.tngtech.archunit:archunit from 1.2.0 to 1.3…
dependabot[bot] Jun 24, 2024
af4e997
Chore(deps): Bump org.jacoco:jacoco-maven-plugin from 0.8.11 to 0.8.1…
dependabot[bot] Jun 24, 2024
5e988f2
Chore(deps): Bump com.squareup.okhttp3:okhttp from 4.9.2 to 4.12.0 (#…
dependabot[bot] Jun 24, 2024
e8c6beb
Chore(deps): Bump org.apache.bcel:bcel from 6.8.2 to 6.9.0 (#1877)
dependabot[bot] Jun 24, 2024
22ed5a3
Chore(deps): Bump com.github.spotbugs:spotbugs-maven-plugin (#1887)
dependabot[bot] Jul 1, 2024
62d8fd3
Chore(deps-dev): Bump com.google.code.gson:gson from 2.10.1 to 2.11.0…
dependabot[bot] Jul 1, 2024
b4100fb
Chore(deps-dev): Bump org.kohsuke:wordnet-random-name from 1.5 to 1.6…
dependabot[bot] Jul 1, 2024
7faf9f0
Chore(deps): Bump org.apache.maven.plugins:maven-project-info-reports…
dependabot[bot] Jul 1, 2024
3e478c2
Adds methods to GHRepository to get the top ten referral paths and re…
ihrigb Jul 1, 2024
068b4e6
Add support for multiline review comments (#1833)
maximevw Jul 1, 2024
29cdf34
Chore(deps): Bump com.squareup.okio:okio from 3.7.0 to 3.9.0 (#1889)
dependabot[bot] Jul 1, 2024
895ddce
Added all possible status values from GH api spec. (#1885)
mpetris Jul 1, 2024
cab9bbb
Prepare release (bitwiseman): github-api-1.323 (#1892)
github-actions[bot] Jul 1, 2024
a50ba2f
Chore(deps): Bump org.codehaus.mojo:versions-maven-plugin
dependabot[bot] Aug 1, 2024
3c4d80c
Add functionality to get active rules for a branch (#1897)
ihrigb Aug 1, 2024
af5bde7
Add fork branch sync (#1898)
jonesbusy Aug 5, 2024
7db2ec0
add GHUser.suspendedAt (#1906)
styner9 Aug 18, 2024
314917e
Accept 429 response codes as an indication of the secondary rate limi…
holly-cummins Aug 18, 2024
5fbd5a0
Prepare release (bitwiseman): github-api-1.324
bitwiseman Aug 19, 2024
3f5b290
Prepare for next development iteration
bitwiseman Aug 19, 2024
c42dd83
Merge pull request #1910 from hub4j/staging/main
bitwiseman Aug 19, 2024
49e2696
Merge pull request #1904 from hub4j/dependabot/maven/org.codehaus.moj…
bitwiseman Aug 19, 2024
9021f20
Chore(deps): Bump org.apache.maven.plugins:maven-javadoc-plugin (#1903)
dependabot[bot] Aug 19, 2024
42167a0
Chore(deps): Bump org.apache.maven.plugins:maven-release-plugin (#1902)
dependabot[bot] Aug 19, 2024
7716bf3
Chore(deps): Bump com.fasterxml.jackson:jackson-bom (#1901)
dependabot[bot] Aug 19, 2024
f80d9f8
Chore(deps): Bump org.apache.maven.plugins:maven-project-info-reports…
dependabot[bot] Aug 19, 2024
8cbc183
Populate GHUser before access a suspendedAt field value (#1912)
styner9 Aug 20, 2024
338de9a
Extend license by spdx id field (#1913)
ihrigb Aug 20, 2024
e62a7aa
Implement method to check, if vulnerability alerts are enabled (#1923)
ihrigb Sep 3, 2024
aaa6cde
feat: GraalVM support (#1914)
klopfdreh Sep 5, 2024
1bd2f3d
Chore(deps-dev): Bump org.slf4j:slf4j-simple from 2.0.13 to 2.0.16 (#…
dependabot[bot] Sep 5, 2024
07b6003
Chore(deps): Bump org.apache.maven.plugins:maven-help-plugin (#1920)
dependabot[bot] Sep 5, 2024
b3ad94e
Chore(deps-dev): Bump hamcrest.version from 2.2 to 3.0 (#1918)
dependabot[bot] Sep 6, 2024
6ce8e1d
Chore(deps-dev): Bump org.mockito:mockito-core from 4.11.0 to 5.13.0 …
dependabot[bot] Sep 6, 2024
857efd4
Update commons-io to 2.16.1 (#1925)
bitwiseman Sep 10, 2024
a6bf2f7
Chore(deps): Bump org.apache.maven.plugins:maven-project-info-reports…
dependabot[bot] Sep 13, 2024
2365bb3
Chore(deps-dev): Bump org.awaitility:awaitility from 4.2.1 to 4.2.2 (…
dependabot[bot] Sep 13, 2024
90e1b6f
Prepare release (bitwiseman): github-api-1.325
bitwiseman Sep 13, 2024
c00437f
Prepare for next development iteration
bitwiseman Sep 13, 2024
9e9e775
Merge pull request #1932 from hub4j/staging/main
bitwiseman Sep 13, 2024
048b84b
Begin version 2.x release train
bitwiseman Sep 15, 2024
d7c8675
Restore ContentIntegrationTest GHCommit tests
bitwiseman Sep 15, 2024
9f172d3
Re-enable httpclient integration test run
bitwiseman Sep 15, 2024
46deac2
Remove dead code
bitwiseman Sep 15, 2024
b868261
Exercise GHHooks
bitwiseman Sep 15, 2024
bb3738f
Merge pull request #1935 from bitwiseman/feature/2.x-release
bitwiseman Sep 15, 2024
52e725d
Merge branch 'main' into 1.x
bitwiseman Sep 15, 2024
e79862a
Prepare release (bitwiseman): github-api-2.0.0-alpha-1
bitwiseman Sep 15, 2024
86cc00e
Prepare for next development iteration
bitwiseman Sep 15, 2024
a2f80da
Merge pull request #1936 from hub4j/staging/main
bitwiseman Sep 15, 2024
8dc1f50
Move AOT tests
bitwiseman Sep 15, 2024
2f30da2
Publish gh-pages from releases/v2.x
bitwiseman Sep 15, 2024
8b4f750
Chore(deps): Bump org.apache.bcel:bcel from 6.9.0 to 6.10.0
dependabot[bot] Sep 15, 2024
357ee37
Publish without site for alpha
bitwiseman Sep 15, 2024
4bdc346
Enable API stability
bitwiseman Sep 15, 2024
7807501
Merge pull request #1937 from bitwiseman/feature/alpha-2
bitwiseman Sep 15, 2024
085ceaf
Re-enable site for v2.x
bitwiseman Sep 17, 2024
9419cd9
Revert "Publish without site for alpha"
bitwiseman Sep 17, 2024
7937ea5
Merge pull request #1934 from hub4j/dependabot/maven/org.apache.bcel-…
bitwiseman Sep 17, 2024
87805f6
Chore(deps): Bump org.apache.maven.plugins:maven-surefire-plugin (#1933)
dependabot[bot] Sep 17, 2024
18326c0
Chore(deps): Bump org.apache.maven.plugins:maven-site-plugin
dependabot[bot] Sep 17, 2024
a9fa45c
Merge pull request #1939 from bitwiseman/feature/ci-site
bitwiseman Sep 17, 2024
b1c2890
Chore(deps): Bump org.apache.commons:commons-lang3 from 3.14.0 to 3.1…
dependabot[bot] Sep 17, 2024
e6081da
Merge branch 'main' into dependabot/maven/org.apache.maven.plugins-ma…
bitwiseman Sep 17, 2024
816da75
Chore(deps): Bump org.apache.maven.plugins:maven-gpg-plugin (#1943)
dependabot[bot] Sep 17, 2024
d9f8fff
Chore(deps): Bump com.github.spotbugs:spotbugs-maven-plugin (#1942)
dependabot[bot] Sep 17, 2024
3c47c92
Merge branch 'main' into main-1.x
bitwiseman Sep 17, 2024
b9a4c80
Update .github/workflows/maven-build.yml
bitwiseman Sep 17, 2024
6609bd4
Test getEmails
bitwiseman Sep 17, 2024
f14aa53
Test getEmails
bitwiseman Sep 17, 2024
6e6c2c2
Merge pull request #1945 from bitwiseman/feature/testGetEmails
bitwiseman Sep 17, 2024
4ed6537
Update japicmp to 0.23.0 (#1946)
bitwiseman Sep 17, 2024
d10f7e0
Update AbuseLimitHandlerTest
bitwiseman Sep 17, 2024
a0c87ae
Merge remote-tracking branch 'upstream/main' into backport/main-1.x
bitwiseman Sep 17, 2024
204587f
Merge pull request #1944 from bitwiseman/backport/main-1.x
bitwiseman Sep 17, 2024
6ab7c66
Prepare release (bitwiseman): github-api-1.326
bitwiseman Sep 17, 2024
b4051a4
Prepare for next development iteration
bitwiseman Sep 17, 2024
e1c84cf
Merge pull request #1947 from hub4j/staging/main
bitwiseman Sep 17, 2024
f4a0d34
Prepare release (bitwiseman): github-api-2.0.0-alpha-2
bitwiseman Sep 17, 2024
ff99753
Prepare for next development iteration
bitwiseman Sep 17, 2024
2dbe157
Merge pull request #1948 from hub4j/staging/main
bitwiseman Sep 17, 2024
e5861ef
Merge pull request #1941 from hub4j/dependabot/maven/org.apache.maven…
bitwiseman Sep 18, 2024
66ec1b6
Chore(deps-dev): Bump com.google.guava:guava (#1949)
dependabot[bot] Sep 18, 2024
2936a1d
Chore(deps): Bump com.squareup.okio:okio from 3.9.0 to 3.9.1 (#1950)
dependabot[bot] Sep 18, 2024
cdd42bb
Chore(deps): Bump spring.boot.version from 3.3.3 to 3.3.4 (#1952)
dependabot[bot] Sep 27, 2024
6a5789e
Chore(deps-dev): Bump com.google.guava:guava (#1953)
dependabot[bot] Sep 27, 2024
79a0343
Chore(deps): Bump org.apache.maven.plugins:maven-gpg-plugin (#1954)
dependabot[bot] Sep 27, 2024
a1786c7
Chore(deps): Bump com.github.spotbugs:spotbugs-maven-plugin (#1955)
dependabot[bot] Sep 27, 2024
d675d94
Chore(deps): Bump com.fasterxml.jackson:jackson-bom (#1959)
dependabot[bot] Sep 28, 2024
7150121
Chore(deps-dev): Bump org.mockito:mockito-core from 5.13.0 to 5.14.0 …
dependabot[bot] Sep 28, 2024
7c3a86e
Chore(deps): Bump actions/setup-java from 2 to 4 (#1960)
dependabot[bot] Oct 1, 2024
768c715
Chore(deps): Bump com.infradna.tool:bridge-method-annotation (#1961)
dependabot[bot] Oct 1, 2024
0c9e195
Improve wait handing in abuse retry (#1971)
holly-cummins Oct 14, 2024
6ea075b
Do not assume server time is in sync with local machine time on rate …
holly-cummins Oct 17, 2024
e464f7f
Chore(deps): Bump codecov/codecov-action from 4.5.0 to 4.6.0 (#1981)
dependabot[bot] Nov 1, 2024
766a672
Chore(deps): Bump org.apache.maven.plugins:maven-surefire-plugin (#1978)
dependabot[bot] Nov 1, 2024
82c2dbf
Chore(deps): Bump org.apache.maven.plugins:maven-javadoc-plugin (#1979)
dependabot[bot] Nov 1, 2024
e4ef482
Chore(deps-dev): Bump org.mockito:mockito-core from 5.14.0 to 5.14.2 …
dependabot[bot] Nov 1, 2024
460c9fe
Chore(deps): Bump spring.boot.version from 3.3.4 to 3.3.5 (#1977)
dependabot[bot] Nov 17, 2024
107c8e6
fix GHNotificationStream "Unable to parse If-Modified-Since request h…
AsherSu Nov 21, 2024
bcbf2e9
Chore(deps): Bump org.apache.maven.plugins:maven-surefire-plugin (#1992)
dependabot[bot] Dec 2, 2024
d54f5dd
Chore(deps): Bump org.apache.maven.plugins:maven-site-plugin (#1991)
dependabot[bot] Dec 2, 2024
7e99f42
Chore(deps): Bump com.fasterxml.jackson:jackson-bom (#1990)
dependabot[bot] Dec 2, 2024
11479e5
Chore(deps): Bump org.apache.maven.plugins:maven-javadoc-plugin (#1989)
dependabot[bot] Dec 2, 2024
7565225
Chore(deps): Bump codecov/codecov-action from 4.6.0 to 5.0.7 (#1988)
dependabot[bot] Dec 2, 2024
58dcca1
Add autolink reference function (#1987)
Alaurant Dec 5, 2024
4f505a5
Add ssh keys fields on meta API response (#1996)
jonesbusy Dec 18, 2024
c9df3cb
Chore(deps): Bump org.codehaus.mojo:versions-maven-plugin
dependabot[bot] Jan 1, 2025
01ba72a
Chore(deps-dev): Bump com.google.guava:guava
dependabot[bot] Jan 1, 2025
9e1147b
Chore(deps): Bump org.apache.maven.plugins:maven-help-plugin
dependabot[bot] Jan 1, 2025
1016fd2
Chore(deps): Bump org.apache.maven.plugins:maven-project-info-reports…
dependabot[bot] Jan 1, 2025
35adac1
Chore(deps): Bump codecov/codecov-action from 5.0.7 to 5.1.2 (#1998)
dependabot[bot] Jan 2, 2025
498b98a
Merge pull request #2003 from hub4j/dependabot/maven/org.apache.maven…
bitwiseman Jan 2, 2025
8680ab7
Merge pull request #2002 from hub4j/dependabot/maven/org.apache.maven…
bitwiseman Jan 2, 2025
64c93d6
Merge pull request #2000 from hub4j/dependabot/maven/org.codehaus.moj…
bitwiseman Jan 2, 2025
4732768
Merge pull request #2001 from hub4j/dependabot/maven/com.google.guava…
bitwiseman Jan 2, 2025
c8f4815
Add parameter to listContributors for anonymous contributors (#1907)
augustd Jan 6, 2025
8714d1b
Include triggering actor in workflow run (#2006)
HerrDerb Jan 9, 2025
d37839b
Add option to fork default branch only (#1995)
Alaurant Jan 21, 2025
33c39f3
List app installation requests endpoint (#2012)
anujhydrabadi Jan 21, 2025
fd85f91
Prepare release (bitwiseman): github-api-2.0-alpha-3
bitwiseman Jan 25, 2025
6898869
Prepare for next development iteration
bitwiseman Jan 25, 2025
3fc0451
Merge pull request #2018 from hub4j/staging/main
bitwiseman Jan 25, 2025
cad279e
Merge remote-tracking branch 'upstream/main' into backport/main-1.x
bitwiseman Jan 25, 2025
630078b
Test fixes for 1.x backport
bitwiseman Jan 25, 2025
38ca010
Fix tests
bitwiseman Jan 27, 2025
af54d2c
Improve code coverage
bitwiseman Feb 13, 2025
8850efc
Merge pull request #2019 from bitwiseman/backport/main-1.x
bitwiseman Feb 13, 2025
9cdb270
Prepare release (bitwiseman): github-api-1.327
bitwiseman Feb 13, 2025
f29f423
Prepare for next development iteration
bitwiseman Feb 13, 2025
9f0314c
Merge pull request #2029 from hub4j/staging/main
bitwiseman Feb 13, 2025
bfade22
Chore(deps): Bump org.apache.commons:commons-lang3 from 3.17.0 to 3.1…
bitwiseman Jul 23, 2025
a9a5f73
Prepare release (bitwiseman): github-api-1.328
bitwiseman Jul 23, 2025
9033e4b
Prepare for next development iteration
bitwiseman Jul 23, 2025
a58b54b
Merge pull request #2117 from hub4j/staging/main
bitwiseman Jul 27, 2025
36c5765
Update ossrh sonatype staging url
bitwiseman Jul 29, 2025
2312260
Update release tag workflow to support 1.x and 2.x
bitwiseman Jul 29, 2025
b33c8ed
Prepare release (bitwiseman): github-api-1.329
bitwiseman Jul 29, 2025
a41abd6
Prepare for next development iteration
bitwiseman Jul 29, 2025
0267bd8
Merge pull request #2118 from hub4j/staging/main-1.x
bitwiseman Jul 29, 2025
e9152d8
Update pom.xml
bitwiseman Jul 29, 2025
a1f3fd5
fix: remove usage of a deprecated constant. (#2138)
bitwiseman Sep 2, 2025
6bf1ad6
Update workflows and readme
bitwiseman Sep 4, 2025
fa40aa3
Prepare release (bitwiseman): github-api-1.330
bitwiseman Sep 4, 2025
f736d58
Merge upstream github-api 1.330 so the client runs on Jackson 2.21
akwirick Nov 3, 2026
6387987
Register the Cortex-only classes for native image so the AOT test passes
akwirick Nov 3, 2026
5665887
Exclude uncovered Cortex-only classes from the per-class coverage check
akwirick Nov 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 4 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@
# Before submitting a PR:

- [ ] Changes must not break binary backwards compatibility. If you are unclear on how to make the change you think is needed while maintaining backward compatibility, [CONTRIBUTING.md](CONTRIBUTING.md) for details.
- [ ] Add JavaDocs and other comments as appropriate. Consider including links in comments to relevant documentation on https://docs.github.com/en/rest .
- [ ] Add JavaDocs and other comments explaining the behavior.
- [ ] When adding or updating methods that fetch entities, add `@link` JavaDoc entries to the relevant documentation on https://docs.github.com/en/rest .
- [ ] Add tests that cover any added or changed code. This generally requires capturing snapshot test data. See [CONTRIBUTING.md](CONTRIBUTING.md) for details.
- [ ] Run `mvn -D enable-ci clean install site` locally. If this command doesn't succeed, your change will not pass CI.
- [ ] Run `mvn -D enable-ci clean install site "-Dsurefire.argLine=--add-opens java.base/java.net=ALL-UNNAMED"` locally. If this command doesn't succeed, your change will not pass CI.
- [ ] Push your changes to a branch other than `main`. You will create your PR from that branch.

# When creating a PR:

- [ ] Fill in the "Description" above with clear summary of the changes. This includes:
- [ ] If this PR fixes one or more issues, include "Fixes #<issue number>" lines for each issue.
- [ ] Provide links to relevant documentation on https://docs.github.com/en/rest where possible.
- [ ] Provide links to relevant documentation on https://docs.github.com/en/rest where possible. If not including links, explain why not.
- [ ] All lines of new code should be covered by tests as reported by code coverage. Any lines that are not covered must have PR comments explaining why they cannot be covered. For example, "Reaching this particular exception is hard and is not a particular common scenario."
- [ ] Enable "Allow edits from maintainers".
14 changes: 10 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,18 @@ jobs:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Set up JDK
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: 17

- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v5

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -57,7 +63,7 @@ jobs:
# 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@v3

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

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
164 changes: 101 additions & 63 deletions .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: CI

on:
on:
push:
branches:
- main
- main-2.x
- '!/refs/heads/dependabot/*'
pull_request:
branches:
Expand All @@ -19,79 +20,63 @@ permissions:

jobs:
build:
name: build-only (Java ${{ matrix.java }})
name: build-only (Java 17)
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [ 17 ]
fail-fast: true
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
cache: 'maven'
- name: Maven Install (skipTests)
env:
MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }}
run: mvn -B clean install -DskipTests --file pom.xml
- uses: actions/checkout@v5
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: 17
distribution: 'temurin'
cache: 'maven'
- name: Maven Install (skipTests)
env:
MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }}
run: mvn -B clean install -DskipTests --file pom.xml
- uses: actions/upload-artifact@v4
with:
name: maven-target-directory
path: target/
retention-days: 3
site:
name: site (Java ${{ matrix.java }})
name: site (Java 17)
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [ 17 ]
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'adopt'
cache: 'maven'
- name: Maven Site
env:
MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }}
run: mvn -B clean site -D enable-ci --file pom.xml
test-8:
name: test (${{ matrix.os }}, Java 8)
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: false
matrix:
os: [ ubuntu ]
java: [ 8 ]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5
- name: Set up JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v5
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
java-version: 17
distribution: 'temurin'
cache: 'maven'
# JDK 8
- name: Maven Install with Code Coverage
run: mvn -B clean install -D enable-ci -Djapicmp.skip --file pom.xml
- name: Codecov Report
uses: codecov/codecov-action@v3.1.1
- name: Maven Site
env:
MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }}
# running install site seems to more closely imitate real site deployment,
# more likely to prevent failed deployment
run: mvn -B clean install site -DskipTests --file pom.xml
test:
name: test (${{ matrix.os }}, Java ${{ matrix.java }})
# Does not require build output, but orders execution to prevent launching test workflows when simple build fails
needs: build
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: false
matrix:
os: [ ubuntu, windows ]
java: [ 11, 17 ]
java: [ 17, 21 ]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5
- name: Set up JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v5
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
distribution: 'temurin'
cache: 'maven'
# JDK 11+
- name: Maven Install without Code Coverage
Expand All @@ -104,18 +89,71 @@ jobs:
env:
MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }}
run: mvn -B clean install -D enable-ci --file pom.xml "-Dsurefire.argLine=--add-opens java.base/java.net=ALL-UNNAMED"
- name: Save coverage data
if: matrix.os == 'ubuntu' && matrix.java == '17'
uses: actions/upload-artifact@v4
with:
name: maven-test-target-directory
path: target/
retention-days: 3

test-java-8:
name: test Java 8 (no-build)
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: maven-target-directory
path: target
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 8
distribution: 'temurin'
cache: 'maven'
- name: Maven Test (no build) Java 8
run: mvn -B surefire:test -DfailIfNoTests -Dsurefire.excludesFile=src/test/resources/slow-or-flaky-tests.txt

test-java-11:
name: test Java 11 (no-build)
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/download-artifact@v5
with:
name: maven-target-directory
path: target
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: 11
distribution: 'temurin'
cache: 'maven'
- name: Maven Test (no build) Java 11
run: mvn -B surefire:test -DfailIfNoTests -Dsurefire.excludesFile=src/test/resources/slow-or-flaky-tests.txt

deploy:
name: Deploy
# Publish only from main: a pull request run must never claim a version in GitHub Packages.
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: [build, site, test, test-java-8, test-java-11]
runs-on: ubuntu-latest
needs: [build, test-8, test]
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
java-version: 8
distribution: 'zulu'
cache: 'maven'
- name: Deploy
run: mvn --batch-mode deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v5
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: 17
distribution: 'temurin'
cache: 'maven'
- name: Deploy
env:
MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: mvn -B deploy -DskipTests --file pom.xml
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Release Drafter
uses: release-drafter/release-drafter@v5
uses: release-drafter/release-drafter@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ target
.classpath
.project
.settings/
.metadata/
.DS_Store

dependency-reduced-pom.xml
Expand Down
7 changes: 5 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Run `mvn spotless:apply` to fix any formatting, etc issues.

If the following does not succeed, you will not pass the pull request checks.

`mvn -D enable-ci clean install site`
`mvn -D enable-ci clean install site "-Dsurefire.argLine=--add-opens java.base/java.net=ALL-UNNAMED"`

## Using WireMock and Snapshots

Expand Down Expand Up @@ -73,6 +73,9 @@ a Java VM option). For example:
The above command will create snapshot WireMock data files under the path `src/test/resources/org/kohsuhke/github/YourTestClassName/wiremock`.
Each method will get a separate directory that will hold the data files for that test method.

*Note:* if you are using personal github account don't forget to change `getTempRepository()` to `gitHub.getRepository("${your_account}/${test_method_name}")`
in order to match with snapshot file name for wiremock. To double-check run test without `-Dtest.github.org=false` flag after snapshot is saved.

Add all files including the generated data to your commit and submit a PR.

### Modifying existing tests
Expand All @@ -82,7 +85,7 @@ When modifying existing tests, you can change the stubbed WireMock data files by
#### Manual editing of data (minor changes only)

If you know what data will change, it is sometimes simplest to make any required changes to the data files manually.
This can be easier if the changes are minor or when you development environment is not setup to to take updated snapshots.
This can be easier if the changes are minor or when you development environment is not setup to take updated snapshots.

#### Generating a new snapshot

Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
[![codecov](https://codecov.io/gh/hub4j/github-api/branch/main/graph/badge.svg?token=j1jQqydZLJ)](https://codecov.io/gh/hub4j/github-api)


See https://github-api.kohsuke.org/ for more details
See https://hub4j.github.io/github-api/ for more details

To locally publish changes to this API, update the version in `pom.xml` to a unique identifier.
Then run `mvn install -Dmaven.test.skip -Dspotless.check.skip=true -Dgpg.skip -Dmaven.javadoc.skip=true -Djacoco.skip=true -Dspotbugs.skip`.
To use this dependency in `brain-backend`, update the version of `cortexapps-github-api` in `build.gradle.kts (:web)` to the same identifier.

See this [Notion doc](https://www.notion.so/cortexio/How-to-publish-Github-Api-e80324a13abf4497afaa67e0a215e53a) for how to publish this client.
Merging to `main` publishes the `pom.xml` version to GitHub Packages through the CI `deploy` job, so bump the version in the same PR.
See this [Notion doc](https://www.notion.so/cortexio/How-to-publish-Github-Api-e80324a13abf4497afaa67e0a215e53a) for more on publishing this client.
Loading
Loading