Skip to content

Commit

Permalink
ci: Fix permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Nov 14, 2022
1 parent e0b1119 commit b235946
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- staging
workflow_dispatch:

permissions:
contents: read

jobs:
build:
name: Build Docker image
Expand All @@ -14,6 +17,7 @@ jobs:
- name: Request to build Docker image
uses: actions/github-script@v6
with:
github-token: ${{ secrets.WPCOM_VIP_BOT_TOKEN }}
script: |
github.rest.repos.createDispatchEvent({
owner: 'automattic',
Expand Down

0 comments on commit b235946

Please sign in to comment.