Skip to content

Commit

Permalink
chore: dont mirror build-system mirror_repos.yml (AztecProtocol#4067)
Browse files Browse the repository at this point in the history
This actually works around an issue when there's no commits to push in
build-system, but this makes sense anyway as that repo is not used
standalone. I have archived it.
  • Loading branch information
ludamad authored Jan 17, 2024
1 parent 3d419f6 commit 04f8e0d
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/mirror_repos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,8 @@ on:
- cron: "0 2 * * *"

jobs:
mirror-to-build-system-repo:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.AZTEC_BOT_GITHUB_TOKEN }}
- name: Push to build-system repo
run: |
SUBREPO_PATH=build-system
git config --global user.name AztecBot
git config --global user.email [email protected]
if ./scripts/git_subrepo.sh push $SUBREPO_PATH --branch=master; then
git fetch # in case a commit came after this
git rebase origin/master
git commit --amend -m "$(git log -1 --pretty=%B) [skip ci]"
git push
fi
mirror-to-barretenberg-repo:
runs-on: ubuntu-latest
# Force sequential.
needs: mirror-to-build-system-repo
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit 04f8e0d

Please sign in to comment.