Browse Source

Also set author for merge commit

Follow-up of 41898282+github-actions[bot]@users.noreply.github.com again

In contrast to your suggestion, @elrido, I did use GitHubs bot account again. The mails won't spam anyone, and it's actually intended for such stuff.
Also, we get a proper avatar on GitHub's commit messages etc., and of course we know it is actually GitHubs (servers) that do this change.
rugk 4 years ago
parent
commit
1fff4bf4d7
1 changed files with 5 additions and 2 deletions
  1. 5 2
      .github/workflows/refresh-php8.yml

+ 5 - 2
.github/workflows/refresh-php8.yml

@@ -11,7 +11,7 @@ jobs:
   build:
   build:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
 
 
-    steps:
+    steps:      
       - name: Checkout php8 branch 
       - name: Checkout php8 branch 
         uses: actions/checkout@v2
         uses: actions/checkout@v2
         with:
         with:
@@ -22,7 +22,10 @@ jobs:
           fetch-depth: 0
           fetch-depth: 0
 
 
       - name: Merge master changes into php8
       - name: Merge master changes into php8
-        run: git merge origin/master
+        run: |
+          git config user.name "github-actions[bot]"
+          git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
+          git merge origin/master
       
       
       - name: Push new changes
       - name: Push new changes
         uses: github-actions-x/commit@v2.8
         uses: github-actions-x/commit@v2.8