Skip to content

Commit deded3c

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

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

+5
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,19 @@ on:
66
- staging
77
workflow_dispatch:
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
build:
1114
name: Build Docker image
1215
runs-on: ubuntu-latest
16+
permissions: write-all
1317
steps:
1418
- name: Request to build Docker image
1519
uses: actions/github-script@v6
1620
with:
21+
github-token: ${{ secrets.WPCOM_VIP_BOT_TOKEN }}
1722
script: |
1823
github.rest.repos.createDispatchEvent({
1924
owner: 'automattic',

0 commit comments

Comments
 (0)