diff --git a/.github/gitlab-mirror.yml b/.github/gitlab-mirror.yml new file mode 100644 index 0000000..25018f4 --- /dev/null +++ b/.github/gitlab-mirror.yml @@ -0,0 +1,24 @@ +name: Mirror to Drupal.org GitLab + +on: + push: + branches: + - 2.x + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Mirror + trigger CI + uses: SvanBoxel/gitlab-mirror-and-ci-action@master + with: + args: "https://git.drupalcode.org/project/advanced_search" + env: + FOLLOW_TAGS: "true" + FORCE_PUSH: "false" + GITLAB_HOSTNAME: "git.drupal.org" + GITLAB_USERNAME: "project_116926_bot" + GITLAB_PASSWORD: ${{ secrets.GITLAB_PASSWORD }} + GITLAB_PROJECT_ID: "116926" + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}