From cdf642ad09f18b7f7aa498c6b14bcdcf4f185056 Mon Sep 17 00:00:00 2001 From: Lee Newberg Date: Wed, 13 Apr 2022 09:10:13 -0400 Subject: [PATCH] COMP: Add apply-clang-format.yml file to address warnings --- .github/workflows/apply-clang-format.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/apply-clang-format.yml diff --git a/.github/workflows/apply-clang-format.yml b/.github/workflows/apply-clang-format.yml new file mode 100644 index 00000000..906e2028 --- /dev/null +++ b/.github/workflows/apply-clang-format.yml @@ -0,0 +1,17 @@ +name: Apply clang-format to PR + +on: + pull_request: + types: [labeled] + +jobs: + clang-format: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - uses: InsightSoftwareConsortium/ITKApplyClangFormatAction@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }}