Skip to content

Commit

Permalink
Merge pull request #111 from home-assistant-libs/use-base-branch-cont…
Browse files Browse the repository at this point in the history
…ainer-for-prs

Use build container from base branch
  • Loading branch information
agners authored Nov 28, 2024
2 parents d0e0e9b + f94c14c commit e5dce8e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ jobs:
if git diff --name-only origin/${{ github.base_ref }}...HEAD | grep -E '^Dockerfile'; then
echo "Dockerfile or related files changed; building container."
build_needed=true
else
echo "No changes to Dockerfile; using container from base branch."
tag="${{ github.base_ref }}"
fi
fi
fi
Expand Down

0 comments on commit e5dce8e

Please sign in to comment.