From 3749b3d4c80ef20cb7c29d96e81613cd7750c3f0 Mon Sep 17 00:00:00 2001 From: Georgios Jason Efstathiou Date: Mon, 25 Sep 2023 12:00:46 +0200 Subject: [PATCH] ci: keep testnet branches in sync with main --- .github/workflows/sync-testnet-branches.yml | 30 +++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/sync-testnet-branches.yml diff --git a/.github/workflows/sync-testnet-branches.yml b/.github/workflows/sync-testnet-branches.yml new file mode 100644 index 000000000..e67bc9917 --- /dev/null +++ b/.github/workflows/sync-testnet-branches.yml @@ -0,0 +1,30 @@ +name: Sync testnet branches + +on: + push: + branches: + - main + +jobs: + sync-goerli-branch: + name: Update Goerli testnet branch + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@master + - uses: connor-baer/action-sync-branch@main + with: + branch: goerli + token: ${{ secrets.SYNC_BRANCH_GITHUB_TOKEN }} + force: false + sync-sepolia-branch: + name: Update Sepolia testnet branch + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@master + - uses: connor-baer/action-sync-branch@main + with: + branch: sepolia + token: ${{ secrets.SYNC_BRANCH_GITHUB_TOKEN }} + force: false