diff --git a/.github/workflows/gitlab-mirror.yml b/.github/workflows/gitlab-mirror.yml index ab774f5bae86e5adce0c442aff1ab3da082074ac..80dd8b9605c7bcf38811e02d79ae92930c0fa32d 100644 --- a/.github/workflows/gitlab-mirror.yml +++ b/.github/workflows/gitlab-mirror.yml @@ -1,13 +1,13 @@ name: gitlab-mirror on: + schedule: + # Runs every hour, on the hour + - cron: '0 * * * *' + # To be able to manually trigger the job from GitHub UI workflow_dispatch: - # Allows external webhook trigger so GitLab can ping GitHub when anything is - # pushed. - repository_dispatch: - permissions: # Necessary to be able to push to the repo contents: write