From cd107f267c1cc703370feef202a6c128c132bfff Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Mon, 6 Apr 2020 12:32:39 -0400 Subject: [PATCH] ENH: Add Apply clang-format to PR GitHub Action For more information, see: https://github.com/InsightSoftwareConsortium/ITKApplyClangFormatAction --- .github/workflows/apply-clang-format.yml | 15 +++++++++++++++ 1 file changed, 15 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 0000000..e4b16b9 --- /dev/null +++ b/.github/workflows/apply-clang-format.yml @@ -0,0 +1,15 @@ +name: Apply clang-format to PR + +on: + pull_request: + types: [labeled] + +jobs: + clang-format: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - uses: InsightSoftwareConsortium/ITKApplyClangFormatAction@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }}