Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release-request-weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: "gem install --no-document toys -v 0.15.5"
- name: Open release pull request
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
Copy link
Contributor

Choose a reason for hiding this comment

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

I thought I tried this at some point and it did not work for me. Did you give this workflow a run from this branch?

Copy link
Contributor Author

@kaylareopelle kaylareopelle Jun 20, 2025

Choose a reason for hiding this comment

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

I thought this approach sounded familiar -- I haven't tried it on a workflow. added a dispatch and will check. that's not necessary since release-request has a dispatch... but I'm running into problems because the branch is on my fork.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm open for suggestions on how to run the workflow from this branch. I'm not quite seeing how to smoothly do this without a release.

On another train of thought -- I looked to see the use of this secret in other OpenTelemetry repos.

Python has a nice comment about the use of the token in their release workflow.

And, when I look at their release PRs, I only see one commit:
open-telemetry/opentelemetry-python-contrib#3571

However, I can't see what jobs were run on that PR, so I can't be certain it's doing what we want it to do.

run: |
toys release request --yes --verbose \
"--release-ref=${{ github.ref }}" \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: "gem install --no-document toys -v 0.15.5"
- name: Open release pull request
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
run: |
toys release request --yes --verbose \
"--gems=${{ github.event.inputs.gems }}" \
Expand Down
Loading