message: Fix to make sure clang-format only runs on branches not master
diff: @@ -17,6 +17,7 @@ jobs:
  - name: 'Run clang-format-diff'
  run: |
  + if [ ${GITHUB_BRANCH} != "master" ]; then
  git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/openchemistry/avogadrolibs
  git fetch origin master:master
  @@ -33,6 +34,7 @@ jobs:
  git diff -U0 ${MASTER_SHA} -- '*.h' '*.cpp' | clang-format-diff-6.0 -p1 >${{ runner.workspace }}/clang-format.diff
  exit 1
  fi
  + fi
  - name: Upload patch
  if: failure()
  