add permissions for surge preview to comment

This commit is contained in:
Ell 2024-02-04 14:23:10 +01:00
parent dc9ad7939a
commit c3d80716a9

View file

@ -5,6 +5,8 @@ on:
jobs:
web:
runs-on: ubuntu-latest
permissions:
pull-requests: write # allow surge-preview to create/update PR comments
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/web/Gemfile
steps:
@ -40,6 +42,8 @@ jobs:
docs:
runs-on: ubuntu-latest
permissions:
pull-requests: write # allow surge-preview to create/update PR comments
steps:
- name: Clone repository
uses: actions/checkout@v4