File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ name: Build&Test PR
88on :
99
1010 # automatic on every pull request
11- pull_request_target :
11+ pull_request :
1212
1313 # manual (for community PRs that we want to force-run here)
1414 workflow_dispatch :
@@ -274,3 +274,16 @@ jobs:
274274 AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
275275 AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
276276 HZ_TEST_AWS_INSTANCE_PRIVATE_IP : ${{ secrets.HZ_TEST_AWS_INSTANCE_PRIVATE_IP }}
277+
278+ enforce-code-formatting :
279+ runs-on : ubuntu-latest
280+ needs : get-refs
281+
282+ steps :
283+ - uses : actions/checkout@v5
284+ with :
285+ ref : ${{ needs.get-refs.outputs.ref }}
286+ token : ${{ secrets.GH_TOKEN }}
287+
288+ # https://github.com/jidicula/clang-format-action/releases/tag/v4.15.0
289+ - uses : jidicula/clang-format-action@4726374d1aa3c6aecf132e5197e498979588ebc8
You can’t perform that action at this time.
0 commit comments