From 39936366172f4dd67dc637a80bd21bf25279d47e Mon Sep 17 00:00:00 2001 From: Kayla Reopelle Date: Wed, 28 May 2025 11:50:20 -0700 Subject: [PATCH] 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. --- .github/workflows/release-request-weekly.yml | 2 +- .github/workflows/release-request.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-request-weekly.yml b/.github/workflows/release-request-weekly.yml index f00393319f..eae8621951 100644 --- a/.github/workflows/release-request-weekly.yml +++ b/.github/workflows/release-request-weekly.yml @@ -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 }} run: | toys release request --yes --verbose \ "--release-ref=${{ github.ref }}" \ diff --git a/.github/workflows/release-request.yml b/.github/workflows/release-request.yml index e7a2d0699a..ae2732b3cc 100644 --- a/.github/workflows/release-request.yml +++ b/.github/workflows/release-request.yml @@ -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 }}" \