summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2020-12-22 15:09:41 -0800
committerMichael D Kinney <michael.d.kinney@intel.com>2020-12-22 15:09:41 -0800
commitb05b06f08442564068fa5c186b1bb4cfd090a7fc (patch)
treead74d11a7550f06253685f645cc3f5baae8936ac
downloadcmocka-b05b06f08442564068fa5c186b1bb4cfd090a7fc.zip
cmocka-b05b06f08442564068fa5c186b1bb4cfd090a7fc.tar.gz
cmocka-b05b06f08442564068fa5c186b1bb4cfd090a7fc.tar.bz2
Use repo-sync/github-sync GitHub Action for cmocka
Sync all branches and tags once a day from: https://git.cryptomilk.org/projects/cmocka.git Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
-rw-r--r--.github/workflows/repo-sync.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml
new file mode 100644
index 0000000..3342c47
--- /dev/null
+++ b/.github/workflows/repo-sync.yml
@@ -0,0 +1,22 @@
+# File: .github/workflows/repo-sync.yml
+
+on:
+ schedule:
+ - cron: "0 0 * * *"
+ 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.cryptomilk.org/projects/cmocka.git
+ source_branch: "*"
+ destination_branch: "*"
+ sync_tags: "true"
+ github_token: ${{ secrets.REPO_SYNC_PAT }}