use with.args

This commit is contained in:
Julien Fastré 2023-10-24 19:03:11 +02:00
parent a912f29bd9
commit 6d019adb1d
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -11,18 +11,15 @@ jobs:
steps:
- name: check out repository
uses: https://github.com/actions/checkout@v4
- name: read local files
run: ls -lah
- name: echo workspace env
run: echo ${{ gitea.workspace }}
- name: run composer update to update composer.lock
uses: docker://gitea.champs-libres.be/chill-project/chill-skeleton-basic/base-image:latest
with:
# this is where we set the command to execute
args: composer update
# - name: commit changed files
# uses: https://github.com/stefanzweifel/git-auto-commit-action@v5
# with:
# commit_message: "update composer.lock and file (automatic update)"
# commit_user_name: Action Bot
# commit_user_email: bot@chill.social
#
- name: commit changed files
uses: https://github.com/stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "update composer.lock and file (automatic update)"
commit_user_name: Action Bot
commit_user_email: bot@chill.social