From efeb1c9a4aaad7fbe09d185183e2436d7a547742 Mon Sep 17 00:00:00 2001 From: Diego Date: Fri, 12 Apr 2024 13:12:40 +0200 Subject: [PATCH 1/4] update libp2p branch when unstable changes --- .github/workflows/update-libp2p-branch.yml | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/update-libp2p-branch.yml diff --git a/.github/workflows/update-libp2p-branch.yml b/.github/workflows/update-libp2p-branch.yml new file mode 100644 index 0000000000..b2908caa1c --- /dev/null +++ b/.github/workflows/update-libp2p-branch.yml @@ -0,0 +1,29 @@ +name: Update libp2p branch +on: + push: + branches: + - unstable + workflow_dispatch: + +jobs: + bumpProjects: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: true + + - name: Update libp2p branch + run: | + cd vendor/nim-libp2p + git checkout unstable + + - name: Commit this update + run: | + git config --global user.email "${{ github.actor }}@users.noreply.github.com" + git config --global user.name = "${{ github.actor }}" + git commit --allow-empty -a -m "update nimbus unstable and auto-bump nim-libp2p" + git branch -D nim-libp2p-auto-bump-${GITHUB_REF##*/} || true + git switch -c nim-libp2p-auto-bump-${GITHUB_REF##*/} + git push -f origin nim-libp2p-auto-bump-${GITHUB_REF##*/} From 1fd2a8c57a129a6115bd65ef86506419d85038ad Mon Sep 17 00:00:00 2001 From: Diego Date: Fri, 12 Apr 2024 13:43:09 +0200 Subject: [PATCH 2/4] add copyright --- .github/workflows/update-libp2p-branch.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/update-libp2p-branch.yml b/.github/workflows/update-libp2p-branch.yml index b2908caa1c..868e541ac3 100644 --- a/.github/workflows/update-libp2p-branch.yml +++ b/.github/workflows/update-libp2p-branch.yml @@ -1,3 +1,10 @@ +# beacon_chain +# Copyright (c) 2020-2024 Status Research & Development GmbH +# Licensed and distributed under either of +# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT). +# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0). +# at your option. This file may not be copied, modified, or distributed except according to those terms. + name: Update libp2p branch on: push: From 2054e32c69c47b995595ce1e7e0d530df5e3ec75 Mon Sep 17 00:00:00 2001 From: diegomrsantos Date: Fri, 19 Apr 2024 00:10:30 +0200 Subject: [PATCH 3/4] Update .github/workflows/update-libp2p-branch.yml Co-authored-by: tersec --- .github/workflows/update-libp2p-branch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-libp2p-branch.yml b/.github/workflows/update-libp2p-branch.yml index 868e541ac3..9d196f2a00 100644 --- a/.github/workflows/update-libp2p-branch.yml +++ b/.github/workflows/update-libp2p-branch.yml @@ -1,5 +1,5 @@ # beacon_chain -# Copyright (c) 2020-2024 Status Research & Development GmbH +# Copyright (c) 2024 Status Research & Development GmbH # Licensed and distributed under either of # * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT). # * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0). From 31f5a9a51ec422d34ee4b7322f14981945f87252 Mon Sep 17 00:00:00 2001 From: Diego Date: Fri, 10 May 2024 10:45:29 +0200 Subject: [PATCH 4/4] update branch name --- .github/workflows/update-libp2p-branch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-libp2p-branch.yml b/.github/workflows/update-libp2p-branch.yml index 9d196f2a00..94649c8289 100644 --- a/.github/workflows/update-libp2p-branch.yml +++ b/.github/workflows/update-libp2p-branch.yml @@ -24,7 +24,7 @@ jobs: - name: Update libp2p branch run: | cd vendor/nim-libp2p - git checkout unstable + git checkout master - name: Commit this update run: |