ci: keep testnet branches in sync with main (#683) #1
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
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 |