Skip to content

Commit

Permalink
ci: Update git config for CI jobs
Browse files Browse the repository at this point in the history
Set the git `core.autocrlf` to `input` so that, files with `CRLF`
line-endings can be patched correctly.

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
  • Loading branch information
urutva committed May 22, 2024
1 parent f87c60e commit 0e97070
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
./tools/ci/generate_credentials.sh -f -p applications/${APP_UNDERSCORED}/configs/aws_configs
git config --global user.email "ci@example.com"
git config --global user.name "ci"
git config --global core.autocrlf input
- name: Build ${{ matrix.application }} application
shell: bash
run: |
Expand Down
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ workflow:
- ./tools/ci/generate_credentials.sh -f -p applications/${APP_UNDERSCORED}/configs/aws_configs
- git config --global user.email "ci@example.com"
- git config --global user.name "ci"
- git config --global core.autocrlf input
- |
./tools/scripts/build.sh ${APP} \
--target $TARGET \
Expand Down

0 comments on commit 0e97070

Please sign in to comment.