Skip to content

Commit

Permalink
Added github action to miror and sync with gitlab
Browse files Browse the repository at this point in the history
  • Loading branch information
kylehuynh205 committed Jul 6, 2022
1 parent 7b9c277 commit 07ade33
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/automated_testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Automated testing

on: [push]

jobs:
call-testing-workflow:
uses: digitalutsc/reusable_workflows/.github/workflows/ci-testing.yml@main
with:
module_name: drupal_libcal
composer_name: digitalutsc/drupal_libcal
test_suite: functional
19 changes: 19 additions & 0 deletions .github/workflows/gitlab_mirroring.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Mirror and run GitLab CI

on: [push]

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/drupal_libcal"
env:
GITLAB_HOSTNAME: "git.drupal.org"
GITLAB_USERNAME: "project_89613_bot"
GITLAB_PASSWORD: ${{ secrets.GITLAB_PASSWORD }}
GITLAB_PROJECT_ID: "89613"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 07ade33

Please sign in to comment.