Skip to content

Commit

Permalink
Use stefanzweifel/git-auto-commit-action on templates (#3427)Co-autho…
Browse files Browse the repository at this point in the history
…red-by: Tomas Votruba <tomas.vot@gmail.com>

* Use  stefanzweifel/git-auto-commit-action on templates

* Update templates/rector-github-action-check.yaml

---------

Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
  • Loading branch information
samsonasik and TomasVotruba committed Feb 28, 2023
1 parent 7b5f06d commit af52640
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions templates/rector-github-action-check.yaml
Expand Up @@ -34,13 +34,8 @@ jobs:
-
# commit only to core contributors who have repository access
if: github.event.pull_request.head.repo.full_name == github.repository
uses: EndBug/add-and-commit@v7.5.0
uses: stefanzweifel/git-auto-commit-action@v4
with:
# The arguments for the `git add` command (see the paragraph below for more info)
add: .
message: "[rector] Rector fixes"
author_name: "GitHub Action"
author_email: "action@github.com"
env:
# to get push access
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
commit_message: '[rector] Rector fixes'
commit_author: 'GitHub Action <actions@github.com>'
commit_user_email: 'action@github.com'

0 comments on commit af52640

Please sign in to comment.