Skip to content

Add support for GHE pre-receive hook configuration#1

Open
michaelpigg wants to merge 381 commits intomainfrom
ghe-pre-receive-hooks
Open

Add support for GHE pre-receive hook configuration#1
michaelpigg wants to merge 381 commits intomainfrom
ghe-pre-receive-hooks

Conversation

@michaelpigg
Copy link
Copy Markdown
Owner

Description

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 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 tests that cover any added or changed code. This generally requires capturing snapshot test data. See 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.
  • 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 #" lines for each issue.
    • Provide links to relevant documentation on https://docs.github.com/en/rest where possible.
  • 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".

dbaur and others added 30 commits May 8, 2023 11:03
…rovider

Generify OrgAppInstallationAuthorizationProvider to support any kind of app lookup.
…decov/codecov-action-3.1.3

Chore(deps): Bump codecov/codecov-action from 3.1.1 to 3.1.3
…siom79.japicmp-japicmp-maven-plugin-0.17.2

Chore(deps): Bump japicmp-maven-plugin from 0.17.1 to 0.17.2
…rToGHWorkflowRun

Added display_title parameter for workspace run
New method to retrieve repo action variable
implemented create from manifest action
Bumps [maven-gpg-plugin](https://github.com/apache/maven-gpg-plugin) from 3.0.1 to 3.1.0.
- [Commits](apache/maven-gpg-plugin@maven-gpg-plugin-3.0.1...maven-gpg-plugin-3.1.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-gpg-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v3.1.3...v3.1.4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…maven.plugins-maven-gpg-plugin-3.1.0

Chore(deps): Bump maven-gpg-plugin from 3.0.1 to 3.1.0
…decov/codecov-action-3.1.4

Chore(deps): Bump codecov/codecov-action from 3.1.3 to 3.1.4
bitwiseman and others added 30 commits March 11, 2024 14:48
Make sure we return an empty list when no reviews
Use issues endpoint to react on pull requests
…hub4j#1810)

* Make sure we refresh the PRs with the PR API (and not the issues API)

When a PR was loaded from a search, the refresh() method was reloading
information from the issues API, which would lead to some information
not being refreshed properly, typically the mergeable state.

Related to hub4j#1779 (comment)

* Update GHPullRequestTest.java

* Update GHPullRequestTest.java

* Update GHPullRequestTest.java

* Update GHPullRequestTest.java

---------

Co-authored-by: Liam Newman <[email protected]>
…j#1690)

* Do not populate repo list in case of installation:deleted event

* Implement discussed way to handle the situation

* Fix codestyle

* Fix build (I hope?)

* Update GHEventPayload.java

* Update GHEventPayload.java

* Fix missing import

* Update src/test/java/org/kohsuke/github/GHEventPayloadTest.java

* Update src/test/java/org/kohsuke/github/GHEventPayloadTest.java

* Apply suggestions from code review

* Update test data

---------

Co-authored-by: Liam Newman <[email protected]>
)

* Implement ServiceDownException for case GitHub's API is down

* Update src/main/java/org/kohsuke/github/GitHubConnectorResponseErrorHandler.java

* Update src/main/java/org/kohsuke/github/GitHubConnectorResponseErrorHandler.java

* Apply suggestions from code review

* Update src/main/java/org/kohsuke/github/ServiceDownException.java

---------

Co-authored-by: Liam Newman <[email protected]>
* Support team, team_add, member and membership payloads

I removed/updated some outdated files that were apparently added in the
hope of someone implementing the payloads but I preferred to start fresh
with new updated payloads.

I did a few adjustments to some existing enums to make sure we don't
have an error when a payload arrives with an unknown value. I used the
same pattern we decided to implement some time ago.

* Apply suggestions from code review

* Update src/main/java/org/kohsuke/github/GHTeamChanges.java

---------

Co-authored-by: Liam Newman <[email protected]>
hub4j#1817)

* Add Support for Retrieving Template Repository Information for a Repository

Spotless apply

Applied spotless

* doc: Improvement javadoc

* Resolve comments on pull-request
Prepare release (bitwiseman): github-api-1.320
Unfortunately, things are not consistent between added and edited.

added provide a permission of some sort and a role name (sometimes...)
edited only provides permission and it's not exactly the same ones

For now, I think we need to return strings to avoid issues until GitHub
adjusts the API.
Be a lot more flexible as for GHMemberChanges values
Prepare release (bitwiseman): github-api-1.321
Fix visibility of getters in GHRequestedAction
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.4.1 to 3.6.3.
- [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
- [Commits](apache/maven-javadoc-plugin@maven-javadoc-plugin-3.4.1...maven-javadoc-plugin-3.6.3)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-javadoc-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [org.awaitility:awaitility](https://github.com/awaitility/awaitility) from 4.2.0 to 4.2.1.
- [Changelog](https://github.com/awaitility/awaitility/blob/master/changelog.txt)
- [Commits](awaitility/awaitility@awaitility-4.2.0...awaitility-4.2.1)

---
updated-dependencies:
- dependency-name: org.awaitility:awaitility
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…decov/codecov-action-4.1.1

Chore(deps): Bump codecov/codecov-action from 4.1.0 to 4.1.1
…maven.plugins-maven-javadoc-plugin-3.6.3

Chore(deps): Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.4.1 to 3.6.3
…ity-awaitility-4.2.1

Chore(deps-dev): Bump org.awaitility:awaitility from 4.2.0 to 4.2.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.