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