Skip to content

Commit 64285eb

Browse files
committed
Introduce lucky_commit dist repository hashes
1 parent d4eb31c commit 64285eb

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/phar.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -235,14 +235,14 @@ jobs:
235235

236236
- name: "Commit PHAR - development"
237237
if: "!startsWith(github.ref, 'refs/tags/')"
238-
uses: stefanzweifel/git-auto-commit-action@v4
239-
with:
240-
commit_user_name: "Ondrej Mirtes"
241-
commit_user_email: "[email protected]"
242-
commit_author: "Ondrej Mirtes <[email protected]>"
243-
commit_options: "--gpg-sign"
244-
repository: phpstan-dist
245-
commit_message: "Updated PHPStan to commit ${{ github.event.after }}\n\n${{ steps.git-log.outputs.log }}"
238+
working-directory: phpstan-dist
239+
run: |
240+
git config --global user.name "Ondrej Mirtes"
241+
git config --global user.email "[email protected]"
242+
git add .
243+
git commit --gpg-sign -m "Updated PHPStan to commit ${{ github.event.after }}\n\n${{ steps.git-log.outputs.log }}" --author "Ondrej Mirtes <[email protected]>"
244+
lucky_commit ${{ steps.short-src-sha.outputs.sha }}
245+
git push
246246
247247
- name: "Commit PHAR - tag"
248248
if: "startsWith(github.ref, 'refs/tags/')"

0 commit comments

Comments
 (0)