Skip to content

Commit

Permalink
Identify repos with a github-pages environment
Browse files Browse the repository at this point in the history
Help with figuring out which repos generate github pages, possibly useful for w3c/modern-tooling#110 (comment)
  • Loading branch information
dontcallmedom committed Nov 13, 2024
1 parent b683a67 commit a4048ec
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ const repoQuery = `
defaultBranch: defaultBranchRef {
name
}
environments(first: 1, names:["github-pages"]) {
nodes {
name
}
}
branchProtectionRules(first: 5) {
nodes {
pattern
Expand Down

0 comments on commit a4048ec

Please sign in to comment.