From b75624af8c05a2e43b6db8f586df7797f31a618f Mon Sep 17 00:00:00 2001 From: subhamkrai Date: Tue, 13 Jun 2023 19:39:17 +0530 Subject: [PATCH] ci: add missing closing bracket in the script there is error in the script to check if there is any changes on go.mod or go.sum line. ``` /home/runner/work/_temp/dc877811-e494-4d57-ab19-a37942eac23d.sh: line 1: unexpected EOF while looking for matching `)' ``` instead of this `if [[ $(git status | grep -E '(go.mod|go.sum)' ]]; then` it will be `if [[ $(git status | grep -E '(go.mod|go.sum)') ]]; then` Signed-off-by: subhamkrai --- .github/workflows/build_dependabot_bundler_pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_dependabot_bundler_pr.yml b/.github/workflows/build_dependabot_bundler_pr.yml index e40110faf..4757b33bf 100644 --- a/.github/workflows/build_dependabot_bundler_pr.yml +++ b/.github/workflows/build_dependabot_bundler_pr.yml @@ -35,7 +35,7 @@ jobs: - name: Commit and copy changes run: | - if [[ $(git status | grep -E '(go.mod|go.sum)' ]]; then + if [[ $(git status | grep -E '(go.mod|go.sum)') ]]; then git add go.mod go.sum pkg/apis/go.mod pkg/apis/go.sum git commit -m "[dependabot skip] Update Golang Modules" git format-patch -n HEAD^ --binary --stdout > ./dependabot-pr/changes.patch