From f09bafa1045804b86a85f4bf4a7f4e339e2062b9 Mon Sep 17 00:00:00 2001 From: Sylvia van Os Date: Sat, 25 Sep 2021 13:17:28 +0200 Subject: [PATCH] Update contributors on schedule instead --- .github/workflows/contributors-to-file.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/contributors-to-file.yml b/.github/workflows/contributors-to-file.yml index 2b60b2ccc..59bb8b08f 100644 --- a/.github/workflows/contributors-to-file.yml +++ b/.github/workflows/contributors-to-file.yml @@ -1,11 +1,12 @@ name: Write contributors to file on: - push: - branches: [ master ] + schedule: + - cron: '3 4 * * 0' jobs: contributors_to_file: runs-on: ubuntu-latest + if: github.ref == 'refs/heads/master' name: Write contributors to file steps: - name: Checkout repo