Add block reason to rule settings #4
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 branch | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
sync-branch: | |
permissions: | |
contents: write | |
name: Update v1 branch | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
ref: main | |
- uses: connor-baer/[email protected] | |
with: | |
branch: v1 | |
token: ${{ secrets.GITHUB_TOKEN }} | |
# Force push is enabled since v1 is supposed to be an exact copy of main until breaking changes are made | |
force: true |