Skip to content

Commit

Permalink
Fixing workspace depencies again (#289)
Browse files Browse the repository at this point in the history
Oh man, I can't wait for this repo to be public.
  • Loading branch information
EduardGomezEscandell authored Sep 19, 2023
2 parents 0b627e7 + 2c7da07 commit cb53786
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/auto-updates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- '**/README.md'
- '**/debian/control'
- '**/po/*'
workflow_dispatch:

jobs:
update-po:
Expand Down Expand Up @@ -135,6 +136,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:
Expand Down

0 comments on commit cb53786

Please sign in to comment.