Follow a few instructions on how to configure/ personalize your check-my-repo application
When running locally it is important to provide a GITHUB_TOKEN to avoid rate limiting. To know more about it, visit: GitHub documentation
This will not happen when running through CI/CD as it is set up as authenticated user using GutHub’s default secret: GITHUB_TOKEN. You can change this at: src/index.js line 2:
const octokit = new Octokit({ auth: process.env.GITHUB_TOKEN })
Application main configuration is defined at ./frontend/src/App.vue
.
Although Vue works with scoped styles, most of the application styles are defined in variables, which makes changes easy and simple.
:root {
--app-background: #464B54;
--square-background-color: #2E3137;
--passed-color: #158906;
--passed-color-accent: #8CFF4D;
--failed-color: #e12726;
--primary-color: #6ED6FF;
--grey-accent: lightgrey;
--shadow: rgb(34, 33, 33);
}
Check-My-Repo is built upon Repolinter, but does not used all their default rules as default.
To add see all Repolinter rules please refer directly to their documentation. Check-My-Repo rules can be modified at ./repolinter.json
file in the project root.
Application uses now Sauce Labs Bot as a default logo. You can change it to your own logo just switching the logo.svg
file at ./frontend/public
folder.
Check-My-Repo uses vue-axe in development mode to accessibility verification.
You can check if something is missing on your Browsers console, or disable it in ./frontend/main.js
file, by turning to auto: false
if (process.env.NODE_ENV === 'development') {
const VueAxe = require('vue-axe').default
Vue.use(VueAxe, {
auto: true // enable auto check.
})