Skip to content

Commit b4cb59e

Browse files
authored
Run composer update (OCP deps) once a day
1 parent 02097d0 commit b4cb59e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/composer-update.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,17 @@ name: Composer update
33
on:
44
workflow_dispatch:
55
schedule:
6-
- cron: '0 0 * * 5' # Runs every Friday at midnight
6+
# Runs once a day at 02:00 AM. Note that OCP package
7+
# is pushed once a day at around 00:00 AM, see
8+
# https://github.com/nextcloud-deps/ocp/blob/master/.github/workflows/cron.yml
9+
- cron: '0 2 * * *'
710

811
jobs:
912
build:
1013
runs-on: ubuntu-24.04
1114
steps:
1215
- name: Checkout
13-
uses: actions/checkout@v5
16+
uses: actions/checkout@v6
1417
with:
1518
ref: ${{ github.head_ref }}
1619
token: ${{ secrets.WORKFLOW_OCR_COMPOSER_DEPS_AUTO_UPDATE }} # To be able to trigger workflows in case of git push

0 commit comments

Comments
 (0)