Skip to content

Commit a0c3e56

Browse files
committed
Use more environment variables in run command
1 parent ffb3779 commit a0c3e56

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,12 @@ jobs:
9191
ref: php8
9292
fetch-depth: 0
9393
- name: Rebase PHP8 branch
94+
env:
95+
USER_EMAIL: ${{ github.event.pusher.email }}
96+
USER_NAME: ${{ github.event.pusher.name }}
9497
run: |
95-
git config user.email "${{ github.event.pusher.email }}"
96-
git config user.name "${{ github.event.pusher.name }}"
98+
git config user.email "$USER_EMAIL"
99+
git config user.name "$USER_NAME"
97100
git pull
98101
git rebase origin/master php8
99102
git status

0 commit comments

Comments
 (0)