GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ksm2/github-dashboard: github-dashboard

BranchesTags
Open more actions menu

Latest commit

 

History

65 Commits
65 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
src
src
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
index.html
index.html
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 
vite.config.ts
vite.config.ts
 
 

Repository files navigation

GitHub Dashboard

A web app which displays open pull requests of an organisation with customisable filters.

Installation

The easiest way to run the dashboard is by using Docker:

docker run \
    -e GITHUB_ORG=my-org \
    -e GITHUB_TOKEN=my-api-token \
    -e FILTERS=/app/conf/filters.json \
    -v $PWD/filters.json:/app/conf/filters.json \
    -p 8080:8080 \
    docker pull ghcr.io/ksm2/github-dashboard

Configuration

Environment Variables

Env Description
HTTP_PORT The port to run the server on, defaults to 8080
GITHUB_ORG The GitHub Organisation to load PRs for
GITHUB_TOKEN The auth token to use when connecting with GitHub, can be generated here
FILTERS Absolute filename to the filter config JSON file, see below

Filter Config

The filters.json file is expected to be an array which contains a definition for a filter. The expected format looks like this:

[
  {
    // A simple filter based on the team owning a repository
    "name": "A Team",
    "query": {
      "team": { "$eq": "A Team" }
    }
  },
  {
    // A filter using the PR author's username
    "name": "Backend",
    "query": {
      "author": { "$in": ["ksm2", "username3", "auth4"] }
    }
  },
  {
    // You can also combine multiple filters using `$or`
    "name": "Backend",
    "query": {
      "$or": [
        {
          "author": { "$ni": ["ksm2", "username3", "auth4"] }
        },
        {
          "team": { "$ne": "A Team" }
        },
        {
          "title": { "$inc": "Snyk" }
        }
      ]
    }
  }
]

The supported queries are:

  • $eq: The value equals the given one
  • $ne: The value does not equal the given one
  • $in: The value is part of the given set
  • $ni: The value is not part of the given set
  • $inc: The value includes the given string
  • $exc: The value excludes the given string

About

github-dashboard

Topics

code-reviewgithub-dashboardpull-requests

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.