Skip to content

Conversation

@trask
Copy link
Member

@trask trask commented Dec 6, 2025

should fix workflows not getting triggered in #15534

@trask trask requested a review from a team as a code owner December 6, 2025 03:54
Comment on lines -68 to -78
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 }}
Copy link
Member Author

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 }}
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 was ok but just changed for consistency since using that token already

Comment on lines 30 to +32
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
token: ${{ steps.otelbot-token.outputs.token }}
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 is what fixes the pushes to existing PRs to trigger workflows

@trask trask merged commit 54a6994 into open-telemetry:main Dec 6, 2025
85 checks passed
@trask trask deleted the fix-metadata-update-workflow branch December 6, 2025 13:40
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