Adjust removing items to give next trade item if it is not none. (#45) #57
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Clang Auto Format Code On Main Repo | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
jobs: | |
auto-formatter-on-main: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: DoozyX/[email protected] | |
with: | |
source: "./code" | |
extensions: 'h,cpp' | |
clangFormatVersion: 14 | |
style: file | |
inplace: True | |
- uses: EndBug/[email protected] | |
with: | |
committer_name: GitHub Actions | |
committer_email: 41898282+github-actions[bot]@users.noreply.github.com | |
message: 'Clang-format changes exist. Committing.' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |