Skip to content

About

archfit GitHub App: tenancy, approved policy, baselines, and PR feedback

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Archfit App

Tests can pass while a change adds a forbidden dependency, a new cycle, or a copy of code another module owns.

When a rule is in your way, you ask an owner: ask once, and the answer is remembered for the next change.

The Archfit App receives the engine result from the Archfit Action and posts a check and a comment on the pull request. Policy owners answer requests in the App.

Repository owners

During the beta, the App serves an account once an operator admits it. Until then the App shows a waiting page and runs nothing.

Developers

Enable the Git hooks once in each clone:

git config core.hooksPath scripts/git-hooks

Run the full local check before you push:

make all           # format, lint, test, build
make test          # race tests
make lint          # golangci-lint
make build         # .bin/reporter
make run           # start the service on the configured address
make deploy-check  # shellcheck, actionlint, and the release script tests (scripts/deploy)

Export the variables in .env.example before make run. The App reads environment variables, not a .env file. Each secret variable names a file with a *_FILE suffix. See the configuration table.

Check a running local service:

curl -s localhost:8080/health

Repositories

The three repositories have separate roles:

Repository Role
archfit Engine, CLI, images, and report schemas
archfit-action Runs the engine in CI and uploads the report
archfit-app Approved policy, report intake, gate, and feedback

About

archfit GitHub App: tenancy, approved policy, baselines, and PR feedback

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages