diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..af4333a --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,8 @@ +# This is a comment. +# Each line is a file pattern followed by one or more owners. + +# These owners will be the default owners for everything in +# the repo. Unless a later match takes precedence, +# these owners will be requested for +# review when someone opens a pull request. +* @samdai01 diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100755 index 0000000..afb98ae --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +version: 2 +updates: +- package-ecosystem: github-actions + directory: "/" + schedule: + interval: daily + open-pull-requests-limit: 10 diff --git a/.github/release.yml b/.github/release.yml new file mode 100755 index 0000000..efdc0e7 --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,25 @@ +changelog: + exclude: + labels: + - ignore-for-release + authors: + - dependabot + categories: + - title: New Features + labels: + - enhancement + - title: Updated Features + labels: + - maintenance + - title: Bug Fixes + labels: + - bug + - title: Infrastructure Updates + labels: + - infrastructure + - title: Documentation Updates + labels: + - documentation + - title: Other Changes + labels: + - "*" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..6fc221b --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,33 @@ +name: Tests + +on: + push: + branches: + - main + pull_request: + workflow_dispatch: + +# Cancel in-progress runs for the current workflow +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + # CI for all UBCSailbot repositories defined in one place + # Runs another workflow: https://docs.github.com/en/actions/using-workflows/reusing-workflows#calling-a-reusable-workflow + test-definitions: + # sailbot_workspace: use locally-defined file + # other repositories: set to UBCSailbot/sailbot_workspace/.github/workflows/test_definitions.yml@ + uses: UBCSailbot/sailbot_workspace/.github/workflows/test_definitions.yml@v1.4.0 + # see https://github.com/UBCSailbot/sailbot_workspace/blob/main/.github/workflows/test_definitions.yml + # for documentation on the inputs and secrets below + with: + repository: ${{ github.event.repository.name }} + ros-ci: true + clang-tidy: true + rebuild-docs: true + # If rebuild-docs is true: + # 1. Create the repository secret PAT_TOKEN (copy from Bitwarden) + # 2. Uncomment the 2 lines below + secrets: + gh-token: ${{ secrets.PAT_TOKEN }} diff --git a/.markdownlint.json b/.markdownlint.json new file mode 100644 index 0000000..5ac068f --- /dev/null +++ b/.markdownlint.json @@ -0,0 +1,18 @@ +{ + "default": true, + "MD013": { + "line_length": 120 + }, + "MD004": { + "style": "dash" + }, + "MD007": { + "indent": 4 + }, + "MD035": { + "style": "---" + }, + "MD040": false, + "MD041": false, + "MD046": false +}