|
1 | 1 | name: Nightly Upstream Snapshot Build |
| 2 | +description: This workflow checks for new upstream versions of OpenTelemetry dependencies, creates a PR to update them, and builds and tests the new changes. |
2 | 3 |
|
3 | 4 | on: |
4 | 5 | schedule: |
|
22 | 23 | runs-on: ubuntu-latest |
23 | 24 | outputs: |
24 | 25 | has_changes: ${{ steps.check_changes.outputs.has_changes }} |
| 26 | + otel_java_instrumentation_version: ${{ steps.update_deps.outputs.otel_java_instrumentation_version }} |
| 27 | + otel_java_contrib_version: ${{ steps.update_deps.outputs.otel_java_contrib_version }} |
25 | 28 | breaking_changes_info: ${{ steps.breaking_changes.outputs.breaking_changes_info }} |
26 | 29 |
|
27 | 30 | steps: |
|
59 | 62 | run: python3 scripts/find_breaking_changes.py |
60 | 63 |
|
61 | 64 | - name: Update dependencies |
| 65 | + id: update_deps |
62 | 66 | run: python3 scripts/update_dependencies.py |
63 | 67 |
|
64 | 68 | - name: Check for changes and commit |
@@ -101,11 +105,17 @@ jobs: |
101 | 105 | BUILD_EMOJI="${{ needs.build-and-test.result == 'success' && '✅' || '❌' }}" |
102 | 106 | BUILD_LINK="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" |
103 | 107 | |
104 | | - PR_BODY="Automated update of OpenTelemetry dependencies to their latest available versions. |
| 108 | + PR_BODY="Automated update of OpenTelemetry dependencies. |
105 | 109 |
|
106 | 110 | **Build Status:** ${BUILD_EMOJI} [${BUILD_STATUS}](${BUILD_LINK}) |
107 | 111 |
|
| 112 | + **Updated versions:** |
| 113 | + - [OpenTelemetry Java Instrumentation](https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v${{ needs.update-dependencies.outputs.otel_java_instrumentation_version }}): ${{ needs.update-dependencies.outputs.otel_java_instrumentation_version }} |
| 114 | + - [OpenTelemetry Java Contrib](https://github.com/open-telemetry/opentelemetry-java-contrib/releases/tag/v${{ needs.update-dependencies.outputs.otel_java_contrib_version }}): ${{ needs.update-dependencies.outputs.otel_java_contrib_version }} |
| 115 | +
|
108 | 116 | **Upstream releases with breaking changes:** |
| 117 | + Note: the mechanism to detect upstream breaking changes is not perfect. Be sure to check all new releases and understand if any additional changes need to be addressed. |
| 118 | +
|
109 | 119 | ${{ needs.update-dependencies.outputs.breaking_changes_info }}" |
110 | 120 | |
111 | 121 | if gh pr view "$BRANCH_NAME" --json state --jq '.state' 2>/dev/null | grep -q "OPEN"; then |
|
0 commit comments