-
Notifications
You must be signed in to change notification settings - Fork 17
Add nightly dependency bump workflow #266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add nightly dependency bump workflow #266
Conversation
This reverts commit a7863f5.
thpierce
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only reviewed .github/workflows
| push: | ||
| branches: | ||
| - zhaez/nightly-build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove
| secrets: inherit | ||
| permissions: | ||
| id-token: write | ||
| contents: write |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not read?
| - name: Check for breaking changes | ||
| id: breaking_changes | ||
| env: | ||
| OTEL_DOTNET_CORE_VERSION: ${{ steps.get_versions.outputs.otel_dotnet_core_version }} | ||
| run: python scripts/find_breaking_changes.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not check OTEL_DOTNET_INSTRUMENTATION_VERSION?
| echo "has_changes=true" >> $GITHUB_OUTPUT | ||
|
|
||
| git add . | ||
| git commit -m "chore: update OpenTelemetry dependencies to ${{ steps.get_versions.outputs.otel_dotnet_core_version }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not OTEL_DOTNET_INSTRUMENTATION_VERSION?
| else | ||
| echo "Creating new PR..." | ||
| gh pr create \ | ||
| --title "Nightly dependency update: OpenTelemetry ${{ needs.update-dependencies.outputs.otel_dotnet_core_version }}" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not OTEL_DOTNET_INSTRUMENTATION_VERSION?
| - [OpenTelemetry .NET Core](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/v${{ needs.update-dependencies.outputs.otel_dotnet_core_version }}): ${{ needs.update-dependencies.outputs.otel_dotnet_core_version }} | ||
| - OpenTelemetry .NET Contrib packages: Updated to latest available versions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OTEL_DOTNET_INSTRUMENTATION_VERSION?
Why latest available versions
Issue #, if available:
Description of changes:
Add a workflow
nightly-build.ymlwith following actions:nightly-dependency-updatesbranchExample PR: #287
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.