Skip to content

Commit 1d0fdaa

Browse files
committed
[ci] Do not use backticks
1 parent d2de34d commit 1d0fdaa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/code_style.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Fetch ${{ github.base_ref }}
2727
shell: bash
2828
run: |
29-
git config --global --add safe.directory `pwd`
29+
git config --global --add safe.directory $(pwd)
3030
git fetch --progress --depth=1 origin ${{ github.base_ref }}
3131
git log --pretty=oneline
3232

.github/workflows/commit_naming.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Shallow fetch (Pull Request)
2828
if: ${{ github.event_name == 'pull_request' }}
2929
run: |
30-
git config --global --add safe.directory `pwd`
30+
git config --global --add safe.directory $(pwd)
3131
git fetch --progress --shallow-exclude ${{ github.base_ref }} origin +${{ github.sha }}:refs/remotes/origin/${{ github.head_ref }}
3232
git log --pretty=oneline
3333
@@ -43,11 +43,11 @@ jobs:
4343
- name: Check commits (Pull Request)
4444
if: ${{ github.event_name == 'pull_request' }}
4545
run: |
46-
git config --global --add safe.directory `pwd`
46+
git config --global --add safe.directory $(pwd)
4747
gitcc history --verbose ./
4848
4949
- name: Check commit (Push)
5050
if: ${{ github.event_name == 'push' }}
5151
run: |
52-
git config --global --add safe.directory `pwd`
52+
git config --global --add safe.directory $(pwd)
5353
gitcc commit ./

0 commit comments

Comments
 (0)