From b1ff2985d58b1ea880b4417110677071f7642b15 Mon Sep 17 00:00:00 2001 From: Davide Fioriti <67809479+davide-f@users.noreply.github.com> Date: Sun, 22 Dec 2024 00:00:02 +0100 Subject: [PATCH] Update documenter frequency (#1252) * Update documenter frequency * Ensure execution on main only --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4e9fe2e8a..9ebd17f4d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,11 +1,13 @@ on: schedule: - - cron: "0 5 * * 0" + - cron: "0 5 1 * *" + workflow_dispatch: jobs: contrib-readme-job: runs-on: ubuntu-latest name: A job to automate contrib in readme + if: ${{ github.repository_owner == 'pypsa-meets-earth' && github.ref == 'refs/heads/main'}} steps: - name: Contribute List uses: akhilmhdh/contributors-readme-action@v2.3.10