Skip to content

Conversation

@trask
Copy link
Member

@trask trask commented Oct 17, 2025

Following other Java repos better

branches:
- main
pull_request:
- release/*
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

build wasn't running on push to release branch previously

Comment on lines +9 to +10
build:
uses: ./.github/workflows/build-common.yml
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and release workflow wasn't running build

@trask trask marked this pull request as ready for review October 17, 2025 03:09
@trask trask requested review from a team as code owners October 17, 2025 03:09
Comment on lines +95 to +107
- name: Check that API diffs are up to date
run: |
# need to "git add" in case any generated files did not already exist
git add docs/apidiffs/
if git diff --cached --quiet
then
echo "No diff detected in apidiffs."
else
echo "Diff detected in apidiffs - did you run './gradlew jApiCmp'?"
echo $(git diff --cached --name-only)
echo $(git diff --cached)
exit 1
fi
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this didn't exist previously, which is why #317 is passing even though the apidiffs are wrong after my last push to the PR

runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for this project building and testing on different oses and java versions might be an overkill

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, I'll send a follow-up to remove the different OSes at least

@trask trask merged commit 01ee43a into open-telemetry:main Oct 17, 2025
18 checks passed
@trask trask deleted the build-common branch October 20, 2025 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants