Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Commit

Permalink
CI and markdown setup (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
samdai01 authored Oct 28, 2023
1 parent fa980c5 commit ae1fa0b
Show file tree
Hide file tree
Showing 5 changed files with 91 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -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
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
25 changes: 25 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -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:
- "*"
33 changes: 33 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -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@<release>
uses: UBCSailbot/sailbot_workspace/.github/workflows/[email protected]
# 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 }}
18 changes: 18 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"default": true,
"MD013": {
"line_length": 120
},
"MD004": {
"style": "dash"
},
"MD007": {
"indent": 4
},
"MD035": {
"style": "---"
},
"MD040": false,
"MD041": false,
"MD046": false
}

0 comments on commit ae1fa0b

Please sign in to comment.