Skip to content

GitHub Action

You can easily integrate TangleGuard into your GitHub workflow by using the pre-built GitHub Action:

It validates your codebase against your TangleGuard configuration file and hence regarding your predefined rules.

Here’s a simple example of how to use the GitHub Action in your workflow:

name: Architecture Check
on: [push, pull_request]
jobs:
validate-architecture:
runs-on: ubuntu-latest
steps:
- uses: TangleGuard/github-action@main

The job failed if any rule is violated.