Skip to content

Commit 0661bbf

Browse files
authored
Fix: Commit in workflows (#18)
1 parent cc8c6f4 commit 0661bbf

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/release.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
run: 'sed -i -e ''s/"php": "\^8.0"/"php": "\^7.3"/'' composer.json'
3838
- name: Commit PHP 7.3 version
3939
run: |
40+
git config --global --add safe.directory /github/workspace && \
4041
git config user.email noreply@github.com && \
4142
git config user.name "GitHub Actions" && \
4243
git checkout -b tmp-php-7.3-release && \
@@ -64,6 +65,7 @@ jobs:
6465
run: 'sed -i -e ''s/"php": "\^8.0"/"php": "\^7.4"/'' composer.json'
6566
- name: Commit PHP 7.4 version
6667
run: |
68+
git config --global --add safe.directory /github/workspace && \
6769
git config user.email noreply@github.com && \
6870
git config user.name "GitHub Actions" && \
6971
git checkout -b tmp-php-7.4-release && \

.github/workflows/transpile.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Update README
2828
run: sed -i '1s/^/# This branch is auto generated\n/' README.md
2929
- name: Commit PHP 7.3 version
30-
uses: actions-x/commit@v2
30+
uses: actions-x/commit@v6
3131
with:
3232
files: .
3333
branch: php-7.3
@@ -56,7 +56,7 @@ jobs:
5656
- name: Update README
5757
run: sed -i '1s/^/# This branch is auto generated\n/' README.md
5858
- name: Commit PHP 7.4 version
59-
uses: actions-x/commit@v2
59+
uses: actions-x/commit@v6
6060
with:
6161
files: .
6262
branch: php-7.4

0 commit comments

Comments
 (0)