MilesCranmer commited on
Commit
6f88fe3
1 Parent(s): 28d8f0a

Set git email in workflow

Browse files
.github/workflows/update_backend.yml CHANGED
@@ -44,6 +44,9 @@ jobs:
44
  - name: "Update versions"
45
  if: ${{ steps.get-latest.outputs.version != steps.get-current.outputs.version }}
46
  run: |
 
 
 
47
  # Bump PySR patch number:
48
  CURRENT_PYSR_PATCH_VERSION=$(python -c 'import pysr; print(pysr.version.__version__.split(".")[-1])' 2>/dev/null)
49
  NEW_PYSR_PATCH_VERSION=$((CURRENT_PYSR_PATCH_VERSION + 1))
 
44
  - name: "Update versions"
45
  if: ${{ steps.get-latest.outputs.version != steps.get-current.outputs.version }}
46
  run: |
47
+ git config --global user.name "${GITHUB_ACTOR}"
48
+ git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
49
+
50
  # Bump PySR patch number:
51
  CURRENT_PYSR_PATCH_VERSION=$(python -c 'import pysr; print(pysr.version.__version__.split(".")[-1])' 2>/dev/null)
52
  NEW_PYSR_PATCH_VERSION=$((CURRENT_PYSR_PATCH_VERSION + 1))