Skip to content
/ freshness Public

List all pull requests from organizations and user

Notifications You must be signed in to change notification settings

aoki/freshness

Repository files navigation

freshness

List pull requests crossing to multiple organizations.

Setup

git clone https://github.com/ringohub/freshness.git
npm i # or yarn install

Write configuration file (config/default.js).

Change api end-point, organization and github token. !! This application perform local only now !! If run at a server, then can't stop to expose AccessToken in HTTP requests. Now, I implementing Auth feature. 🙇 🙏

Run

npm run dev

docker

docker run --rm -p 3000:3000 \
  -e FRESHNESS_GITHUB_API_TOKEN=${FRESHNESS_GITHUB_API_TOKEN} \
  -e FRESHNESS_GITHUB_API_URL=${FRESHNESS_GITHUB_API_URL} \
  -e FRESHNESS_TARGET_ORGS=${FRESHNESS_TARGET_ORGS} \
  -d freshness:0.3.4

Environment Variables

Key Description Default
FRESHNESS_GITHUB_API_URL Specify GitHub or GitHub:Enterprise API URL https://api.github.com
FRESHNESS_GITHUB_API_TOKEN Specify GitHub personal access token (Require: Generate here). Need repo:status and public_repo permissions.
FRESHNESS_TARGET_ORGS Specify GitHub organizations for listing pull requests github,nodejs

Test

npm test