diff --git a/.github/workflows/gitlab-mirror.yml b/.github/workflows/gitlab-mirror.yml index 8263fa53e265cafb78cc26974ae71f2c7d772672..80dd8b9605c7bcf38811e02d79ae92930c0fa32d 100644 --- a/.github/workflows/gitlab-mirror.yml +++ b/.github/workflows/gitlab-mirror.yml @@ -5,6 +5,8 @@ on: # Runs every hour, on the hour - cron: '0 * * * *' + # To be able to manually trigger the job from GitHub UI + workflow_dispatch: permissions: # Necessary to be able to push to the repo @@ -15,7 +17,6 @@ jobs: name: gitlab-mirror concurrency: mirror # Only 1 mirror job needs to run at once runs-on: ubuntu-latest - if: contains(vars.MIRROR_FROM_GITLAB, 'true') # only runs if this variable is set to true steps: - uses: actions/checkout@v3 with: @@ -40,8 +41,6 @@ jobs: mirror refs/heads/main mirror refs/heads/release - mirror refs/heads/next - mirror refs/heads/legacy # This is used as the source of commits to add on top of main to # build the master branch content