From de3336a67c80c84f9f819139b36159758d459ddc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Lu=C3=ADs=20Rodrigues?= <75942759+jlcrodrigues@users.noreply.github.com> Date: Thu, 22 Feb 2024 10:36:33 +0000 Subject: [PATCH] Create sync_branches.yml --- .github/workflows/sync_branches.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/sync_branches.yml diff --git a/.github/workflows/sync_branches.yml b/.github/workflows/sync_branches.yml new file mode 100644 index 0000000..71a851b --- /dev/null +++ b/.github/workflows/sync_branches.yml @@ -0,0 +1,21 @@ +name: Sync branches + +on: + push: + branches: + - github + +jobs: + sync: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Sync branches + uses: TreTuna/sync-branches@1.4.0 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + FROM_BRANCH: github + TO_BRANCH: main