Skip to content

Commit

Permalink
feat: init with sync job
Browse files Browse the repository at this point in the history
Signed-off-by: homalozoa <[email protected]>
  • Loading branch information
homalozoa committed Jan 18, 2023
1 parent 6980d7d commit 0631496
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/workflows/sync-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: sync_meta-virtualization
on:
schedule:
- cron: "0 */1 * * *"
workflow_dispatch:

jobs:
repo-sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: repo-sync
uses: repo-sync/github-sync@v2
with:
source_repo: "https://git.yoctoproject.org/meta-virtualization"
source_branch: "*"
destination_branch: "*"
github_token: ${{ secrets.GITHUB_TOKEN }}
sync_tags: "true"
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
# meta-virtualization
# meta-virtualization

## Introduction

It's a mirror of `meta-virtualization`. Which URL: https://git.yoctoproject.org/meta-virtualization/

As description in [Sync Action](.github/workflows/sync.yml), the sync action runs hourly with `all branchs` and `all tags`.

0 comments on commit 0631496

Please sign in to comment.