From 11b57955e7faac1dea692409b47bddbb64a5f50b Mon Sep 17 00:00:00 2001 From: eclipse-langium-bot <150659361+eclipse-langium-bot@users.noreply.github.com> Date: Tue, 12 Dec 2023 16:24:24 +0100 Subject: [PATCH] Add permissions --- .github/workflows/preview.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index de25299f..5c5a2d0c 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -1,7 +1,7 @@ name: Deploy PR previews on: - pull_request: + pull_request_target: types: - opened - synchronize @@ -10,6 +10,10 @@ on: concurrency: preview-${{ github.ref }} +permissions: + contents: write + pull-requests: write + defaults: run: shell: bash