List pull requests crossing to multiple organizations.
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. 🙇 🙏
npm run dev
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
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 |
npm test