Check_state not functioning as expected #1796
Workflow file for this run
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
name: auto-clang-format | |
on: | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
jobs: | |
build: | |
name: 'clang format' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
repository: ${{ github.event.pull_request.head.repo.full_name }} | |
ref: ${{ github.event.pull_request.head.ref }} | |
token: ${{ secrets.GH_PAT }} # This is needed to run CI on the generated commit | |
- uses: DoozyX/[email protected] | |
with: | |
source: '.' | |
exclude: '' | |
extensions: 'h,hpp,cpp' | |
clangFormatVersion: 16 | |
style: file | |
inplace: True | |
- uses: EndBug/add-and-commit@v9 | |
with: | |
message: ':art: Committing clang-format changes' |