Skip to content

Commit

Permalink
Set email/name through git instead of env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
rwblair committed Apr 5, 2021
1 parent 8a3b90b commit df632e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ jobs:
- image: continuumio/miniconda3
environment:
BASH_ENV: "/root/.bashrc"
GIT_COMMITTER_EMAIL: "[email protected]"
GIT_COMMITTER_NAME: "bv-ci"
steps:
- checkout
- run:
name: setup conda
command: |
conda create -n testenv Python=3.7
conda init
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "bids-maintenance"
- run:
name: install datalad
command: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
- uses: actions/checkout@v2
- name: Set git name/email
run: |
echo "GIT_COMMITTER_EMAIL=bv-ci@example.com" >> $GITHUB_ENV
echo "GIT_COMMITTER_NAME=bv-ci" >> $GITHUB_ENV
git config --global user.email "bids.maintenance@gmail.com"
git config --global user.name "bids-maintenance"
- name: Set up Python ${{ matrix.python-version }}
uses: conda-incubator/setup-miniconda@v2
with:
Expand Down

0 comments on commit df632e6

Please sign in to comment.