← 返回首页
GitHub - github/platform-samples at 37b9213492c276bb9aa929c484b8d987e0a7f1a2 · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

github/platform-samples

 37b9213
Go to file
Code

Repository files navigation

More items

platform-samples

This is a public place for all sample projects related to the GitHub Platform.

Hierarchy

The directories are organized to correlate with guides found on developer.github.com. But here it is, broken down:

  • api: here's a bunch of sample code relating to the API. Subdirectories in this category are broken up by language. Do you have a language sample you'd like added? Make a pull request and we'll consider it.
  • graphql: here's a bunch of sample GraphQL queries that can be run against our GitHub GraphQL API.
  • hooks: want to find out how to write a consumer for our web hooks? The examples in this subdirectory show you how. We are open for more contributions via pull requests.
  • pre-receive-hooks: this one contains pre-receive-hooks that can block commits on GitHub Enterprise that do not fit your requirements. Do you have more great examples? Create a pull request and we will check it out.
  • scripts: want to analyze or clean-up your Git repository? The scripts in this subdirectory show you how. We are open for more contributions via pull requests
  • sql: here are sql scripts for custom reporting for GitHub Enterprise Server. We are open for more contributions via pull requests.

About

A public place for all platform sample projects.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

2.1k stars

Watchers

687 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Footer

© 2026 GitHub, Inc.