Skip to content

Commit 3993636

Browse files
committed
chore: Use PAT for release actions
A GitHub token will not trigger workflows associated with PRs. A PAT, however, should trigger those workflows automatically. This should stop us from needing to push empty commits when a release PR is opened.
1 parent 645d1ca commit 3993636

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release-request-weekly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
run: "gem install --no-document toys -v 0.15.5"
2222
- name: Open release pull request
2323
env:
24-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
2525
run: |
2626
toys release request --yes --verbose \
2727
"--release-ref=${{ github.ref }}" \

.github/workflows/release-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: "gem install --no-document toys -v 0.15.5"
2626
- name: Open release pull request
2727
env:
28-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
2929
run: |
3030
toys release request --yes --verbose \
3131
"--gems=${{ github.event.inputs.gems }}" \

0 commit comments

Comments
 (0)