diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml new file mode 100644 index 000000000..178fd3d9a --- /dev/null +++ b/.github/workflows/workflow.yaml @@ -0,0 +1,20 @@ +name: lint +on: [push] + +defaults: + run: + # Only lint the costmap_3d package, the rest are upstream and have many + # linter errors that there is little point in fixing. + working-directory: ./costmap_3d +jobs: + lint: + name: Badger Linting + runs-on: + - self-hosted + - k8s + steps: + - name: Run Linting + uses: BadgerTechnologies/ros-ci-docker/linter@linter-v1 + with: + HARBOR_USER: ${{ secrets.HARBOR_USER }} + HARBOR_PASS: ${{ secrets.HARBOR_PASS }}