mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-29 08:58:31 +08:00
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:
parent
b003a8b49b
commit
a2f99636bb
1 changed files with 11 additions and 18 deletions
29
.github/workflows/update-yaml.yml
vendored
29
.github/workflows/update-yaml.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue