From dbaca2bcdd966a87db79cbf3ab4237c1e01e7349 Mon Sep 17 00:00:00 2001 From: Alex Aperis Date: Thu, 1 Aug 2024 11:18:48 +0200 Subject: [PATCH] schedule doc update as cronjob --- .github/workflows/aggregate.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/aggregate.yml b/.github/workflows/aggregate.yml index d2f05dc..d378185 100644 --- a/.github/workflows/aggregate.yml +++ b/.github/workflows/aggregate.yml @@ -1,6 +1,8 @@ name: "Aggregate documentation" on: + schedule: + - cron: "0 7 * * 1" workflow_dispatch: inputs: repository: @@ -19,7 +21,7 @@ jobs: - uses: actions/checkout@v4 with: ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} - - run: bash aggregate-repositories.sh ${{ inputs.repository }} + - run: bash aggregate-repositories.sh ${{ inputs.repository || 'neicnordic/sensitive-data-archive' }} - name: Create Pull Request uses: peter-evans/create-pull-request@v6