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 deded3c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,19 @@ on:
- staging
workflow_dispatch:

permissions:
contents: read

jobs:
build:
name: Build Docker image
runs-on: ubuntu-latest
permissions: write-all
steps:
- 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 deded3c

Please sign in to comment.