[FIX] remove references to removed type 'MutableEigenMatrixXdPtr' #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Action to allow clang format linting at the files changed in the PR | |
name: Apply clang-format on comment and commit to PR | |
on: | |
issue_comment: | |
types: [created] | |
permissions: | |
checks: write | |
contents: write | |
jobs: | |
lint: | |
name: Automatic clang format linting | |
runs-on: ubuntu-latest | |
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/reformat') | |
steps: | |
# Checkout source code | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Checkout Pull Request | |
run: | | |
git config --global hub.protocol https | |
hub pr checkout ${{ github.event.issue.number }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# Get files changed in the PR | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/[email protected] | |
with: | |
path: . | |
files: | | |
**/*.h | |
**/*.cpp | |
# Perform linting | |
- name: Use clang format linting | |
uses: DoozyX/[email protected] | |
with: | |
source: ${{ steps.changed-files.outputs.all_changed_files }} | |
clangFormatVersion: 13 | |
inplace: True | |
- name: commit | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "GitHub Linter" | |
git commit -am "fix lint" | |
git push | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |