attribute-spass/.forgejo/workflows/push.yml
lubiana c4acc2c358
Some checks failed
/ ls (push) Failing after 19s
test
2023-10-16 22:11:05 +02:00

24 lines
741 B
YAML

on: [push]
jobs:
ls:
runs-on: docker
container:
image: git.php.fail/lubiana/container/php:8.2.11-node
steps:
- uses: actions/checkout@v3
- run: env | sort
- run: composer install
- run: composer fix
- name: GIT commit and push all changed files
env:
CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts
CI_COMMIT_AUTHOR: Continuous Integration
run: |
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
git config --global user.email "username@users.noreply.github.com"
if [[ -n $(git status --porcelain) ]]; then
git commit -a -m "${{ env.CI_COMMIT_MESSAGE }}"
git push
fi