From c5c3ff801202637fae8cb1e9c750f6d7c1a1b019 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edu=20G=C3=B3mez=20Escandell?= Date: Mon, 18 Sep 2023 14:56:01 +0200 Subject: [PATCH 1/2] Private repo business --- .../update-workspace-dependencies.sh | 1 + .github/workflows/auto-updates.yaml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.github/actions/update-workspace-dependencies/update-workspace-dependencies.sh b/.github/actions/update-workspace-dependencies/update-workspace-dependencies.sh index 13c5cea3d..527a05b51 100644 --- a/.github/actions/update-workspace-dependencies/update-workspace-dependencies.sh +++ b/.github/actions/update-workspace-dependencies/update-workspace-dependencies.sh @@ -38,6 +38,7 @@ for dependency in ${dependencies}; do dep_path=`echo $dependency | sed "s#${pattern}#\1#"` dep_commit=`echo $dependency | sed "s#${pattern}#\4#"` + export GIT_TERMINAL_PROMPT="0" diff_files="$(git diff --name-only ${dep_commit} -- "../${dep_path}")" if [ -z "${diff_files}" ] ; then continue diff --git a/.github/workflows/auto-updates.yaml b/.github/workflows/auto-updates.yaml index c87d8ef06..049dc93de 100644 --- a/.github/workflows/auto-updates.yaml +++ b/.github/workflows/auto-updates.yaml @@ -135,6 +135,9 @@ jobs: uses: actions/setup-go@v4 with: go-version-file: go.work + - name: Set up private repo + shell: bash + run : go env -w "GOPRIVATE=github.com/${{ github.repository }}" - name: Update submodules uses: ./.github/actions/update-workspace-dependencies with: From 2c7da076b2782f2d7c6e3dbf80318bc2b698a1f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edu=20G=C3=B3mez=20Escandell?= Date: Mon, 18 Sep 2023 14:56:22 +0200 Subject: [PATCH 2/2] Enable workflow dispatch --- .github/workflows/auto-updates.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/auto-updates.yaml b/.github/workflows/auto-updates.yaml index 049dc93de..fafb0bb51 100644 --- a/.github/workflows/auto-updates.yaml +++ b/.github/workflows/auto-updates.yaml @@ -7,6 +7,7 @@ on: - '**/README.md' - '**/debian/control' - '**/po/*' + workflow_dispatch: jobs: update-po: