From a2f99636bb715c47538ce83a5bfe7de6861d9968 Mon Sep 17 00:00:00 2001 From: szaimen Date: Wed, 11 May 2022 00:52:54 +0200 Subject: [PATCH] update only via schedule Signed-off-by: szaimen Revert "update only via schedule" This reverts commit 86bcad9c4c0047bdc45cb12ce58ede89b8c1a07b. Revert "Revert "update only via schedule"" This reverts commit 40a4236bd204ed65c25185c1d874378f094db6af. --- .github/workflows/update-yaml.yml | 29 +++++++++++------------------ 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/.github/workflows/update-yaml.yml b/.github/workflows/update-yaml.yml index e04ef05b..ee1b77e9 100644 --- a/.github/workflows/update-yaml.yml +++ b/.github/workflows/update-yaml.yml @@ -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