Skip to content

Commit 2093ee3

Browse files
committed
Update GitHub workflow to use checkout v4 and configure Git
Upgraded actions/checkout from v2 to v4 for better compatibility. Added Git setup with bot credentials to automate commits during the workflow. These changes enhance automation and streamline the process.
1 parent e27d8c5 commit 2093ee3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/phpunit-coverage-badge.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@ jobs:
1818
name: P${{ matrix.php-versions }} - L${{ matrix.laravel }} - ${{ matrix.operating-system}}
1919

2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v4
22+
token: ${{ secrets.NUXTIFYTS_BOT_API_KEY }}
23+
24+
- name: Setup Git
25+
run: |
26+
git config --global user.name "nuxtifyts-bot"
27+
git config --global user.email "nuxtifyts@gmail.com"
2228
2329
- name: Install PHP versions
2430
uses: shivammathur/setup-php@v2

0 commit comments

Comments
 (0)