diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2023-03-29 18:15:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-29 18:15:11 (GMT) |
commit | abdc160a97c78b01580308fe43204a202d3a6951 (patch) | |
tree | 92e828b43bc13be1560f531c9d1d964a5a963d39 /.github/workflows/clang-format-fix.yml | |
parent | ab1af79798985b57401596677f7db8eb186f55a1 (diff) | |
download | hdf5-abdc160a97c78b01580308fe43204a202d3a6951.zip hdf5-abdc160a97c78b01580308fe43204a202d3a6951.tar.gz hdf5-abdc160a97c78b01580308fe43204a202d3a6951.tar.bz2 |
Minor cherry-pick merges to 1.12 (#2581)
Diffstat (limited to '.github/workflows/clang-format-fix.yml')
-rw-r--r-- | .github/workflows/clang-format-fix.yml | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/.github/workflows/clang-format-fix.yml b/.github/workflows/clang-format-fix.yml index c1110cf..feaa3d0 100644 --- a/.github/workflows/clang-format-fix.yml +++ b/.github/workflows/clang-format-fix.yml @@ -1,15 +1,24 @@ -name: clang-format Check +# NOTE: This action requires write permissions to be set in your GitHub +# repo/fork for it to be able to commit changes. +# +# This is currently enabled via: +# +# settings > Actions > General > Workflow permissions +# +# which you will need to set to "Read and write permissions" +# +name: clang-format Commit Changes on: workflow_dispatch: push: jobs: formatting-check: - name: Formatting Check + name: Commit Format Changes runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, 'skip-ci')" steps: - uses: actions/checkout@v3 - - name: Run clang-format style check for C and Java programs. + - name: Fix C and Java formatting issues detected by clang-format uses: DoozyX/clang-format-lint-action@v0.13 with: source: '.' |