forked from oneapi-src/distributed-ranges
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added a wf to sync with the public repo
test new test
- Loading branch information
1 parent
6df90c7
commit 470ede2
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
abcdefgh | ||
afsadsadsafsafsad |