erleben / OpenTissue

OpenTissue is a collection of generic algorithms and data structures for rapid development of interactive modeling and simulation.
http://www.opentissue.org
95 stars 26 forks source link

Create GitHub workflows #23

Open ricortiz opened 4 years ago

ricortiz commented 4 years ago

type:Bug: title: "^BUG:.*"

area:Documentation: title: "^DOC:.*"

type:Enhancement: title: "^ENH:.*"

type:Performance: title: "^PERF:.*"

type:Style: title: "^STYLE:.*"


- [ ] Apply clang-format

name: Apply clang-format to PR

on: pull_request: types: [labeled]

jobs: clang-format: runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
  with:
     fetch-depth: 0
- uses: OpenTissue/OTITKApplyClangFormatAction@master
  with:
    github-token: ${{ secrets.GITHUB_TOKEN }}

- [ ] Linter

name: clang-format linter

on: [push,pull_request]

jobs: lint: runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
  with:
    fetch-depth: 1
- uses: OpenTIssue/OTClangFormatLinterAction@master
  with:
    error-message: 'Code is inconsistent with OpenTissue Coding Style. Add the *action:ApplyClangFormat* PR label to correct.'