mirror of
https://github.com/Ellpeck/TinyLifeWeb.git
synced 2024-11-22 11:23:29 +01:00
add permissions for surge preview to comment
This commit is contained in:
parent
dc9ad7939a
commit
c3d80716a9
1 changed files with 4 additions and 0 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -5,6 +5,8 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
web:
|
web:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
pull-requests: write # allow surge-preview to create/update PR comments
|
||||||
env:
|
env:
|
||||||
BUNDLE_GEMFILE: ${{ github.workspace }}/web/Gemfile
|
BUNDLE_GEMFILE: ${{ github.workspace }}/web/Gemfile
|
||||||
steps:
|
steps:
|
||||||
|
@ -40,6 +42,8 @@ jobs:
|
||||||
|
|
||||||
docs:
|
docs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
pull-requests: write # allow surge-preview to create/update PR comments
|
||||||
steps:
|
steps:
|
||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
Loading…
Reference in a new issue