Skip to content

Commit b235946

Browse files
committed
ci: Fix permissions
1 parent e0b1119 commit b235946

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build-docker-image.yml

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- staging
77
workflow_dispatch:
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
build:
1114
name: Build Docker image
@@ -14,6 +17,7 @@ jobs:
1417
- name: Request to build Docker image
1518
uses: actions/github-script@v6
1619
with:
20+
github-token: ${{ secrets.WPCOM_VIP_BOT_TOKEN }}
1721
script: |
1822
github.rest.repos.createDispatchEvent({
1923
owner: 'automattic',

0 commit comments

Comments
 (0)