test #7
Workflow file for this run
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
# SPDX-FileCopyrightText: Intel Corporation | |
# | |
# SPDX-License-Identifier: BSD-3-Clause | |
name: "Sync repos" | |
on: | |
push: | |
branches: | |
- mirror | |
jobs: | |
checks: | |
runs-on: borealis | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{secrets.PUBLIC_PAT}} | |
- run: | | |
git clean -x -f -e .github/workflows/sync_public.yml | |
git remote -v | |
git remote set-url upstream https://${{secrets.USR}}:${{secrets.PUBLIC_PAT}}@github.com/haichangsi/distributed-ranges.git | |
git push -f upstream HEAD:mirror |