update only via schedule

Signed-off-by: szaimen <szaimen@e.mail.de>

Revert "update only via schedule"

This reverts commit 86bcad9c4c0047bdc45cb12ce58ede89b8c1a07b.

Revert "Revert "update only via schedule""

This reverts commit 40a4236bd204ed65c25185c1d874378f094db6af.
This commit is contained in:
szaimen 2022-05-11 00:52:54 +02:00
parent b003a8b49b
commit a2f99636bb

View file

@ -1,11 +1,8 @@
name: Update Yaml files
on:
pull_request:
push:
branches:
- '**'
- '!main'
schedule:
- cron: '00 12 * * *'
jobs:
psalm:
@ -17,17 +14,13 @@ jobs:
- name: update yaml files
run: |
sudo bash manual-install/update-yaml.sh
- name: Commit files
if: ${{ success() }}
continue-on-error: true
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add .
git commit -m "Update Yaml files" -a
- name: Push changes
if: ${{ success() }}
uses: ad-m/github-push-action@master
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
commit-message: Yaml updates
signoff: true
title: Yaml updates
body: Automated yaml updates for the docker-compose files. Should only be merged shortly before the next latest release.
labels: dependencies
milestone: next
branch: aio-yaml-update