From 4d358e8bb69e5a9db4875c5e43b4ff2cd049186c Mon Sep 17 00:00:00 2001 From: chanikag Date: Tue, 22 Oct 2024 14:11:15 +0530 Subject: [PATCH 1/4] Add workflow to send sync PR from 4.3.0 branch to main This is to add workflow to send sync PR from 4.3.0 branch to main --- .../workflows/weekly_sync_4.3.0_to_main.yaml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/weekly_sync_4.3.0_to_main.yaml diff --git a/.github/workflows/weekly_sync_4.3.0_to_main.yaml b/.github/workflows/weekly_sync_4.3.0_to_main.yaml new file mode 100644 index 000000000..1056c7de7 --- /dev/null +++ b/.github/workflows/weekly_sync_4.3.0_to_main.yaml @@ -0,0 +1,23 @@ +name: Weekly Sync from branch '4.3.0' to 'main' + +# Schedule to run weekly on Friday at 3:00 PM UTC +on: + schedule: + - cron: '0 3 * * 5' + +jobs: + sync_pr: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + with: + ref: main + - name: Reset 4.3.0 branch + run: | + git fetch origin 4.3.0:4.3.0 + git reset --hard 4.3.0 + - name: create pull request + run: gh pr create -B main -H 4.3.0 --title 'Sync main branch with 4.3.0 branch' --body 'This PR is to sync the main branch with the 4.3.0 branch.' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From 6b784b6e79a0364034dd2e39a81a0fdfff5230b8 Mon Sep 17 00:00:00 2001 From: chanikag Date: Tue, 29 Oct 2024 08:14:26 +0530 Subject: [PATCH 2/4] Update weekly_sync_4.3.0_to_main.yaml --- .github/workflows/weekly_sync_4.3.0_to_main.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/weekly_sync_4.3.0_to_main.yaml b/.github/workflows/weekly_sync_4.3.0_to_main.yaml index 1056c7de7..61798c05d 100644 --- a/.github/workflows/weekly_sync_4.3.0_to_main.yaml +++ b/.github/workflows/weekly_sync_4.3.0_to_main.yaml @@ -16,8 +16,7 @@ jobs: - name: Reset 4.3.0 branch run: | git fetch origin 4.3.0:4.3.0 - git reset --hard 4.3.0 - name: create pull request run: gh pr create -B main -H 4.3.0 --title 'Sync main branch with 4.3.0 branch' --body 'This PR is to sync the main branch with the 4.3.0 branch.' env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 65423e72abe94654a49a1f4f42e2b0b554ae9a43 Mon Sep 17 00:00:00 2001 From: chanikag Date: Wed, 30 Oct 2024 08:51:30 +0530 Subject: [PATCH 3/4] Update weekly_sync_4.3.0_to_main.yaml --- .github/workflows/weekly_sync_4.3.0_to_main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/weekly_sync_4.3.0_to_main.yaml b/.github/workflows/weekly_sync_4.3.0_to_main.yaml index 61798c05d..864215a54 100644 --- a/.github/workflows/weekly_sync_4.3.0_to_main.yaml +++ b/.github/workflows/weekly_sync_4.3.0_to_main.yaml @@ -3,7 +3,7 @@ name: Weekly Sync from branch '4.3.0' to 'main' # Schedule to run weekly on Friday at 3:00 PM UTC on: schedule: - - cron: '0 3 * * 5' + - cron: '0 5 * * 5' jobs: sync_pr: From a122a46539f71351311459a76b1df2067a5e9d56 Mon Sep 17 00:00:00 2001 From: chanikag Date: Wed, 30 Oct 2024 08:52:34 +0530 Subject: [PATCH 4/4] Update weekly_sync_4.3.0_to_main.yaml --- .github/workflows/weekly_sync_4.3.0_to_main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/weekly_sync_4.3.0_to_main.yaml b/.github/workflows/weekly_sync_4.3.0_to_main.yaml index 864215a54..d26bbe258 100644 --- a/.github/workflows/weekly_sync_4.3.0_to_main.yaml +++ b/.github/workflows/weekly_sync_4.3.0_to_main.yaml @@ -1,6 +1,6 @@ name: Weekly Sync from branch '4.3.0' to 'main' -# Schedule to run weekly on Friday at 3:00 PM UTC +# Schedule to run weekly on Friday at 5:00 AM UTC on: schedule: - cron: '0 5 * * 5'