Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/update-builder-toml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ jobs:
- name: Check if branch has commits
id: check-if-commits
run: |
# get the number of commits in the branch
commits=$(git rev-list --count automation/builder-toml-update)
# get the number of commits since it branched off from main
commits=$(git rev-list --count main..automation/builder-toml-update)
if [ "$commits" -eq 0 ]; then
echo "No commits in branch automation/builder-toml-update"
echo "commits=0" >> "$GITHUB_OUTPUT"
Expand Down
Loading