From 8a24ef8a6a93346072702b421e82f48704da16e1 Mon Sep 17 00:00:00 2001 From: Jehandad Khan Date: Mon, 4 Dec 2023 23:21:26 +0000 Subject: [PATCH 1/3] Add nightly update workflow --- .github/workflows/update_develop_nightly.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/update_develop_nightly.yml diff --git a/.github/workflows/update_develop_nightly.yml b/.github/workflows/update_develop_nightly.yml new file mode 100644 index 0000000000..fa632fa522 --- /dev/null +++ b/.github/workflows/update_develop_nightly.yml @@ -0,0 +1,19 @@ +name: Sync branch + +on: + workflow_dispatch: + push: + branches: + - develop +jobs: + sync-branch: + name: Update nightly branch + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@develop + - uses: connor-baer/action-sync-branch@main + with: + branch: develop_nightly + token: ${{ secrets.GITHUB_TOKEN }} + force: false \ No newline at end of file From 13a7431cdb3f87d175e3aeb51b43e7d6cf593bb4 Mon Sep 17 00:00:00 2001 From: Jehandad Khan Date: Mon, 4 Dec 2023 23:38:31 +0000 Subject: [PATCH 2/3] add trigger for testing --- .github/workflows/update_develop_nightly.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/update_develop_nightly.yml b/.github/workflows/update_develop_nightly.yml index fa632fa522..ab4c1e71dd 100644 --- a/.github/workflows/update_develop_nightly.yml +++ b/.github/workflows/update_develop_nightly.yml @@ -1,6 +1,7 @@ name: Sync branch on: + pull_request: workflow_dispatch: push: branches: From 6915d4906cb98483bbea00b81ce1eef121b32d2c Mon Sep 17 00:00:00 2001 From: Jehandad Khan Date: Mon, 4 Dec 2023 23:40:48 +0000 Subject: [PATCH 3/3] fix checkout version --- .github/workflows/update_develop_nightly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update_develop_nightly.yml b/.github/workflows/update_develop_nightly.yml index ab4c1e71dd..a8b5aabdb9 100644 --- a/.github/workflows/update_develop_nightly.yml +++ b/.github/workflows/update_develop_nightly.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@develop + uses: actions/checkout@main - uses: connor-baer/action-sync-branch@main with: branch: develop_nightly