Skip to content

Commit d746177

Browse files
authored
Merge pull request #7539 from google/6118-follow-up
2 parents d3f1e1b + a20ad11 commit d746177

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/browserslist-db-update.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
url: 'https://api.github.com/repos/${{ github.repository }}/git/ref/heads/${{ env.branch-name }}'
2828
method: 'GET'
29-
bearerToken: ${{ secrets.GITHUB_TOKEN }}
29+
bearerToken: ${{ secrets.GH_BOT_TOKEN }}
3030
customHeaders: '{"Accept": "application/vnd.github+json"}'
3131

3232
- name: Delete branch
@@ -36,7 +36,7 @@ jobs:
3636
with:
3737
url: 'https://api.github.com/repos/${{ github.repository }}/git/refs/heads/${{ env.branch-name }}'
3838
method: 'DELETE'
39-
bearerToken: ${{ secrets.GITHUB_TOKEN }}
39+
bearerToken: ${{ secrets.GH_BOT_TOKEN }}
4040
customHeaders: '{"Accept": "application/vnd.github+json"}'
4141
outputs:
4242
check-branch-status: ${{ steps.check-branch.outputs.requestError && fromJson( steps.check-branch.outputs.requestError ).status || false }}
@@ -60,7 +60,7 @@ jobs:
6060
- name: Update Browserslist database and create PR if applicable
6161
uses: c2corg/browserslist-update-action@v1
6262
with:
63-
github_token: ${{ secrets.GITHUB_TOKEN }}
63+
github_token: ${{ secrets.GH_BOT_TOKEN }}
6464
branch: ${{ env.branch-name }}
6565
commit_message: 'Update Browserslist database.'
6666
title: 'Update Browserslist Database'

.github/workflows/storybook.yml

+2
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ jobs:
8282
- uses: actions/checkout@v3
8383
with:
8484
ref: gh-pages
85+
token: ${{ secrets.GH_BOT_TOKEN }}
8586
- name: Download artifacts
8687
uses: actions/download-artifact@v3
8788
with:
@@ -124,6 +125,7 @@ jobs:
124125
- uses: actions/checkout@v3
125126
with:
126127
ref: gh-pages
128+
token: ${{ secrets.GH_BOT_TOKEN }}
127129
- name: Remove storybook
128130
env:
129131
PULL_REQUEST_NUMBER: ${{ github.event.number }}

0 commit comments

Comments
 (0)