chill-skeleton-basic/.gitea/workflows/release_preparation.yaml

26 lines
951 B
YAML
Raw Permalink Normal View History

name: Prepare release for chill app
run-name: Update composer.lock and dependencies for preparing a release
on:
push:
branches:
- 'release/**'
jobs:
update-deps:
steps:
- name: check out repository
uses: https://github.com/actions/checkout@v4
2023-10-24 14:46:54 +00:00
- name: run composer update to update composer.lock
2023-10-24 16:50:30 +00:00
uses: docker://gitea.champs-libres.be/chill-project/chill-skeleton-basic/base-image:latest
2023-10-24 14:51:20 +00:00
with:
2023-10-24 17:03:11 +00:00
# this is where we set the command to execute
2023-10-24 17:06:28 +00:00
args: composer update --no-install
2023-10-24 17:03:11 +00:00
- name: commit changed files
uses: https://github.com/stefanzweifel/git-auto-commit-action@v5
with:
2023-11-01 22:45:16 +00:00
commit_message: "update composer.lock and file (automatic update through CI)"
2023-10-24 17:03:11 +00:00
commit_user_name: Action Bot
commit_user_email: bot@chill.social