use infinite polling by default (#76) #28
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 changes to release branches | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
# Syncing branches are currently the solution as long as | |
# we have multiple binaries version based on Cairo. | |
# As we move away from that this should be migrated to a normal rust | |
# release flow. | |
jobs: | |
sync-branches: | |
# strategy: | |
# matrix: | |
# supported-version: | |
# [ | |
# "1.1.0", | |
# "1.1.1", | |
# "2.0.1", | |
# "2.0.2", | |
# "2.1.0", | |
# "2.1.1", | |
# "2.2.0", | |
# "2.3.0", | |
# "2.3.1", | |
# "2.4.0", | |
# "2.4.1", | |
# "2.4.2", | |
# "2.4.3", | |
# "2.4.4", | |
# "2.5.0", | |
# "2.5.1", | |
# "2.5.2", | |
# "2.5.3", | |
# "2.5.4", | |
# "2.6.0", | |
# "2.6.1", | |
# "2.6.2", | |
# "2.6.3", | |
# ] | |
runs-on: ubuntu-latest | |
steps: | |
# Do nothing for now since the newest changes include version updates. | |
- name: Do nothing | |
run: echo nothing | |
# - name: Checkout | |
# uses: actions/checkout@v4 | |
# with: | |
# fetch-depth: 0 | |
# # This user can be anything using any email, just for git to work as expected. | |
# - name: setup git configs | |
# run: | | |
# git config user.name "cwkang1998 (Github Action)" | |
# git config user.email "[email protected]" | |
# - name: update all release branches | |
# run: | | |
# git checkout main | |
# git fetch origin | |
# git checkout release/${{ matrix.supported-version }} | |
# git pull | |
# git merge origin/main | |
# git push origin release/${{ matrix.supported-version }} |