No description
  • Shell 31.3%
  • Ruby 21.7%
  • JavaScript 17.9%
  • Groovy 5.9%
  • Scala 5.2%
  • Other 18%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Justin Alex 17d2a3ac38
Add new GraphQL queries to list organization memberships for a user and list SCIM accounts for an EMU (#791)
* Add query to list organization memberships for a
user
* Add GraphQL query to list SCIM accounts for an EMU

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-22 16:33:03 +10:00
.github/workflows Merge pull request #494 from github/djdefi-codeql 2023-01-14 09:51:16 -08:00
api Bump the bundler group across 3 directories with 3 updates 2024-09-06 20:12:44 +00:00
app/ruby/app-issue-creator Bump rack from 2.2.6.4 to 2.2.8.1 in /app/ruby/app-issue-creator 2024-02-29 01:22:44 +00:00
graphql Add new GraphQL queries to list organization memberships for a user and list SCIM accounts for an EMU (#791) 2025-08-22 16:33:03 +10:00
hooks Merge dependabot/bundler/hooks/ruby/dismiss-review-server/rack-2.2.8.1 into combine-prs-branch 2024-05-30 03:02:51 +00:00
microsoft-graph-api Update EMU-OIDC-tokenlifetime-policy.md 2023-11-03 13:45:22 -04:00
pre-receive-hooks Update pre-receive-hooks/README.md 2025-08-18 15:06:12 +09:30
scripts Merge pull request #363 from github/jefeish/patch-1 2020-08-24 10:40:39 -04:00
sql Formatting the repos-audit sql query 2023-03-09 17:02:30 -06:00
.gitignore Add .bundle to .gitignore 2014-01-14 17:42:56 +01:00
LICENSE.txt Rename LICENSE to LICENSE.txt 2017-04-11 16:38:08 -07:00
README.md Merge pull request #687 from github/microsoft-graph-api-commands 2023-10-26 10:03:25 -04:00
SUPPORT.md Create SUPPORT.md 2024-09-05 11:47:29 -07:00

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 GitHub 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.
  • microsoft-graph-api: here's a bunch of sample Microsoft Graph commands related to integrations for GitHub, such as EMU (Enterprise Managed User) OIDC authentication for Azure AD/Entra.
  • 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.