Skip to content

Commit

Permalink
added a wf to sync with the public repo
Browse files Browse the repository at this point in the history
test

new test
  • Loading branch information
haichangsi committed Jan 5, 2024
1 parent 6df90c7 commit 470ede2
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/sync_public.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# SPDX-FileCopyrightText: Intel Corporation
#
# SPDX-License-Identifier: BSD-3-Clause

name: "Sync repos"

on:
push:
branches:
- mirror

jobs:
checks:
runs-on: borealis
steps:
- run: |
git rm -r --cached .
- uses: actions/checkout@v4
with:
token: ${{secrets.PUBLIC_PAT}}
- run: |
git remote set-url origin https://${{secrets.USR}}:${{secrets.PUBLIC_PAT}}@github.com/haichangsi/distributed-ranges.git
git rebase origin/mirror
git push -u origin HEAD:mirror
2 changes: 2 additions & 0 deletions test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
abcdefgh
afsadsadsafsafsad

0 comments on commit 470ede2

Please sign in to comment.