summaryrefslogtreecommitdiffstats
path: root/.github/workflows/clang-format-fix.yml
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-06-05 23:23:19 (GMT)
committerGitHub <noreply@github.com>2023-06-05 23:23:19 (GMT)
commite03ffa18bc5aece3ebfbbcd3221589eebb6e918e (patch)
tree23464a2a4373ecbc4dcacd656d78c0bcef272dca /.github/workflows/clang-format-fix.yml
parentc0c4c4c3d0df92b46ee39f8f3db71b19974d289c (diff)
downloadhdf5-e03ffa18bc5aece3ebfbbcd3221589eebb6e918e.zip
hdf5-e03ffa18bc5aece3ebfbbcd3221589eebb6e918e.tar.gz
hdf5-e03ffa18bc5aece3ebfbbcd3221589eebb6e918e.tar.bz2
Update actions and change defaults of compression (fix vars) (#3042)
* Update actions and change defaults of compression (fix vars) * Unique location for branches
Diffstat (limited to '.github/workflows/clang-format-fix.yml')
-rw-r--r--.github/workflows/clang-format-fix.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/clang-format-fix.yml b/.github/workflows/clang-format-fix.yml
index 00d2352..5981118 100644
--- a/.github/workflows/clang-format-fix.yml
+++ b/.github/workflows/clang-format-fix.yml
@@ -11,11 +11,15 @@ name: clang-format Commit Changes
on:
workflow_dispatch:
push:
+permissions:
+ contents: read
jobs:
formatting-check:
name: Commit Format Changes
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'skip-ci')"
+ permissions:
+ contents: write # In order to allow EndBug/add-and-commit to commit changes
steps:
- uses: actions/checkout@v3
- name: Fix C and Java formatting issues detected by clang-format