Skip to content

Commit

Permalink
Test if there is no change
Browse files Browse the repository at this point in the history
  • Loading branch information
tvami committed Sep 17, 2024
1 parent 901e53b commit 4657f07
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
clang-format:
runs-on: ubuntu-latest
steps:
- name : Install just
- name: Install just
uses: extractions/setup-just@v2
with:
just-version: 1.26.0
Expand All @@ -22,14 +22,16 @@ jobs:
git checkout ${GITHUB_HEAD_REF}
git pull origin ${GITHUB_HEAD_REF}
- name: Run format check on the C++
run: just install-denv init format-cpp

- name: Set up git user as the bot
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
- name: Auto-commit the changes
run: |
git config user.name 'github-actions'
git config user.email '[email protected]'
git add .
git commit -m "Apply clang-format" || echo "No changes to commit"
git push origin HEAD:${GITHUB_HEAD_REF}
2 changes: 0 additions & 2 deletions Ecal/src/Ecal/EcalVetoProcessor.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,6 @@ void EcalVetoProcessor::produce(framework::Event &event) {
}
}

std::cout << "Something for clang-format to fix";

if (verbose_) {
ldmx_log(debug) << " Get projected trajectories for electron and photon";
}
Expand Down

0 comments on commit 4657f07

Please sign in to comment.