-
Notifications
You must be signed in to change notification settings - Fork 1k
Use otelbot-java-instrumentation for metadata update workflow #15555
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?
Conversation
| env: | ||
| GH_TOKEN: ${{ steps.otelbot-token.outputs.token }} | ||
| run: | | ||
| BRANCH_NAME="otelbot/metadata-update-main" | ||
| echo "branch=$BRANCH_NAME" >> $GITHUB_OUTPUT | ||
| git checkout -B "$BRANCH_NAME" | ||
| - name: Commit and push changes | ||
| if: steps.diffcheck.outputs.has_diff == 'true' | ||
| env: | ||
| GH_TOKEN: ${{ steps.otelbot-token.outputs.token }} |
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.
these aren't needed
| if: steps.createpr.outputs.new_pr == 'true' | ||
| env: | ||
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| GH_TOKEN: ${{ steps.otelbot-token.outputs.token }} |
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.
this was ok but just changed for consistency since using that token already
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | ||
| with: | ||
| token: ${{ steps.otelbot-token.outputs.token }} |
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.
this is what fixes the pushes to existing PRs to trigger workflows
should fix workflows not getting triggered in #15534