From 898b49ced2b6ab62140cbe882c62959357350dbf Mon Sep 17 00:00:00 2001 From: Hakadao Date: Sun, 7 Jan 2024 16:19:23 +0800 Subject: [PATCH 1/4] chore: add sync bugfixes workflow --- .github/workflows/sync-bugfixes.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/sync-bugfixes.yml diff --git a/.github/workflows/sync-bugfixes.yml b/.github/workflows/sync-bugfixes.yml new file mode 100644 index 0000000000..13992228bb --- /dev/null +++ b/.github/workflows/sync-bugfixes.yml @@ -0,0 +1,24 @@ +name: Sync Back to Bugfixes +on: + push: + branches: + - main + +jobs: + sync-branches: + runs-on: ubuntu-latest + name: Syncing branches + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Set up Node + uses: actions/setup-node@v1 + with: + node-version: 12 + - name: Opening pull request + id: pull + uses: tretuna/sync-branches@1.4.0 + with: + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + FROM_BRANCH: main + TO_BRANCH: bugfixes From a01d8a4b8014b4888556751ee427da5aaed16190 Mon Sep 17 00:00:00 2001 From: Hakadao Date: Sun, 7 Jan 2024 16:31:26 +0800 Subject: [PATCH 2/4] chore: Update sync-bugfixes.yml --- .github/workflows/sync-bugfixes.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync-bugfixes.yml b/.github/workflows/sync-bugfixes.yml index 13992228bb..0e909d756e 100644 --- a/.github/workflows/sync-bugfixes.yml +++ b/.github/workflows/sync-bugfixes.yml @@ -19,6 +19,6 @@ jobs: id: pull uses: tretuna/sync-branches@1.4.0 with: - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + GITHUB_TOKEN: ${{secrets.SYNC_TOKEN}} FROM_BRANCH: main TO_BRANCH: bugfixes From 213556b57543eb19ac2175d5e99362e87ce93938 Mon Sep 17 00:00:00 2001 From: Hakadao Date: Sun, 7 Jan 2024 16:50:56 +0800 Subject: [PATCH 3/4] chore: add sync dev action --- .github/workflows/sync-dev.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/sync-dev.yml diff --git a/.github/workflows/sync-dev.yml b/.github/workflows/sync-dev.yml new file mode 100644 index 0000000000..76abbba1bd --- /dev/null +++ b/.github/workflows/sync-dev.yml @@ -0,0 +1,24 @@ +name: Sync Back to Dev +on: + push: + branches: + - main + +jobs: + sync-branches: + runs-on: ubuntu-latest + name: Syncing branches + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Set up Node + uses: actions/setup-node@v1 + with: + node-version: 12 + - name: Opening pull request + id: pull + uses: tretuna/sync-branches@1.4.0 + with: + GITHUB_TOKEN: ${{secrets.SYNC_TOKEN}} + FROM_BRANCH: main + TO_BRANCH: dev From bbd83fd76089e6799d2d84e0585b64eede96ffd7 Mon Sep 17 00:00:00 2001 From: Hakadao Date: Sun, 7 Jan 2024 16:53:43 +0800 Subject: [PATCH 4/4] chore: add sync dev firefox action --- .github/workflows/sync-dev-firefox.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/sync-dev-firefox.yml diff --git a/.github/workflows/sync-dev-firefox.yml b/.github/workflows/sync-dev-firefox.yml new file mode 100644 index 0000000000..451557a46c --- /dev/null +++ b/.github/workflows/sync-dev-firefox.yml @@ -0,0 +1,24 @@ +name: Sync Back to Dev Firefox +on: + push: + branches: + - dev + +jobs: + sync-branches: + runs-on: ubuntu-latest + name: Syncing branches + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Set up Node + uses: actions/setup-node@v1 + with: + node-version: 12 + - name: Opening pull request + id: pull + uses: tretuna/sync-branches@1.4.0 + with: + GITHUB_TOKEN: ${{secrets.SYNC_TOKEN}} + FROM_BRANCH: dev + TO_BRANCH: dev-firefox