diff --git a/.github/workflows/include-guards.yml b/.github/workflows/include-guards.yml new file mode 100644 index 0000000..26dfd90 --- /dev/null +++ b/.github/workflows/include-guards.yml @@ -0,0 +1,16 @@ +name: check-include-guards + +on: [push, pull_request] + +jobs: + include-guards: + name: Check include guards + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Check include guards + uses: sbeyer/include-guards-check-action@v1.0.0 + with: + only: '^bandit/' + ignore: '/external/'