Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

fix: "Add status to commit" fails on forked repos (#2689)

Ivan Starkov6dfdd0d60769
diff --git a/.github/workflows/add-status.yml b/.github/workflows/add-status.yml
index ae0107689d..c6a4020afa 100644
--- a/.github/workflows/add-status.yml
+++ b/.github/workflows/add-status.yml
@@ -4,10 +4,10 @@ on:
push:
branches:
- main
- pull_request:
+ pull_request_target:
permissions:
- statuses: write # to fetch code (actions/checkout)
+ statuses: write # This is required for the GitHub Script createCommitStatus to work
jobs:
add-status: