From b64081e17b242e64ff3740eabb8b66fe9daef5b3 Mon Sep 17 00:00:00 2001 From: Arran Schlosberg Date: Tue, 8 Oct 2024 15:17:28 +0100 Subject: [PATCH] fix: regex `?` placement + force-push generated branch --- .github/workflows/rename-module.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rename-module.yml b/.github/workflows/rename-module.yml index c7801d0970ca..8d0f6d49470e 100644 --- a/.github/workflows/rename-module.yml +++ b/.github/workflows/rename-module.yml @@ -26,10 +26,11 @@ jobs: run: | go mod edit -module github.com/ava-labs/go-ethereum; find . -iname '*.go' | xargs sed -i -E \ - 's|^((import?)\s.*?"github\.com/)ethereum/go-ethereum|\1ava-labs/go-ethereum|'; + 's|^((import)?\s.*?"github\.com/)ethereum/go-ethereum|\1ava-labs/go-ethereum|'; - name: create rename-X branch uses: devops-infra/action-commit-push@8bc2ff9f9de7aa2a7581fc7e5b6401c04cab54c7 with: github_token: ${{ secrets.GITHUB_TOKEN }} target_branch: "arr4n/rename-test" + force: true