From aedc512c8d7e8900692392b2f70ecfd68e440e13 Mon Sep 17 00:00:00 2001 From: Eric Flumerfelt Date: Fri, 10 Jan 2025 14:13:50 -0600 Subject: [PATCH] Add clang-format workflow --- .../workflows/artdaq-format-single-pkg.yml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 .github/workflows/artdaq-format-single-pkg.yml diff --git a/.github/workflows/artdaq-format-single-pkg.yml b/.github/workflows/artdaq-format-single-pkg.yml new file mode 100755 index 0000000..84ca4e3 --- /dev/null +++ b/.github/workflows/artdaq-format-single-pkg.yml @@ -0,0 +1,20 @@ +name: Format Single Pkg Workflow + +on: + push: + branches: + - develop + paths-ignore: + - 'docs/**' + - '.github/**' + pull_request: + branches: [ develop ] + workflow_dispatch: + +jobs: + + build_single_pkg: + name: format single pkg + uses: art-daq/.github/.github/workflows/artdaq-format-single-pkg.yml@stable + with: + against-ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event_name == 'push' && github.event.before || 0 }}