From 9e5e9a49e5e682592c0fb4170ee4a6173c8d4646 Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Sun, 2 Apr 2023 18:56:56 -0700 Subject: [PATCH] Sync main branch to master (#507) --- .github/workflows/main-to-master-sync.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/main-to-master-sync.yml diff --git a/.github/workflows/main-to-master-sync.yml b/.github/workflows/main-to-master-sync.yml new file mode 100644 index 00000000..99cd85b3 --- /dev/null +++ b/.github/workflows/main-to-master-sync.yml @@ -0,0 +1,22 @@ +name: Sync Main to Master + +on: + push: + branches: + - main + +jobs: + sync: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + with: + ref: main + fetch-depth: 0 + + - name: Push changes to master + run: | + git checkout -b master + git push origin +master