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.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
fix: Allow approved fork workflow checkouts (#6335)
Oleg Isonencb1a17dc9bbb
diff --git a/.github/workflows/fixtures-test.yml b/.github/workflows/fixtures-test.ymlindex b855621718..82c495bcad 100644--- a/.github/workflows/fixtures-test.yml+++ b/.github/workflows/fixtures-test.yml@@ -38,6 +38,7 @@ jobs:- uses: actions/checkout@v5with:ref: ${{ github.event.pull_request.head.sha || github.sha }}+ allow-unsafe-pr-checkout: ${{ github.event_name == 'pull_request_target' && github.event.action == 'labeled' && github.event.label.name == 'safe-to-deploy' }}# Test that everything is working with submodules- uses: ./.github/actions/submodules-checkoutwith:diff --git a/.github/workflows/main.yml b/.github/workflows/main.ymlindex 7d94593335..ec8be249ce 100644--- a/.github/workflows/main.yml+++ b/.github/workflows/main.yml@@ -26,6 +26,7 @@ jobs:- uses: actions/checkout@v5with:ref: ${{ github.event.pull_request.head.sha || github.sha }}+ allow-unsafe-pr-checkout: ${{ github.event_name == 'pull_request_target' && github.event.action == 'labeled' && github.event.label.name == 'safe-to-deploy' }}- uses: ./.github/actions/submodules-checkoutwith:@@ -69,6 +70,7 @@ jobs:- uses: actions/checkout@v5with:ref: ${{ github.event.pull_request.head.sha || github.sha }}+ allow-unsafe-pr-checkout: ${{ github.event_name == 'pull_request_target' && github.event.action == 'labeled' && github.event.label.name == 'safe-to-deploy' }}- uses: ./.github/actions/test-suitewith:@@ -92,6 +94,7 @@ jobs:- uses: actions/checkout@v5with:ref: ${{ github.event.pull_request.head.sha || github.sha }}+ allow-unsafe-pr-checkout: ${{ github.event_name == 'pull_request_target' && github.event.action == 'labeled' && github.event.label.name == 'safe-to-deploy' }}- uses: pnpm/action-setup@v6@@ -139,6 +142,7 @@ jobs:- uses: actions/checkout@v5with:ref: ${{ github.event.pull_request.head.sha || github.sha }}+ allow-unsafe-pr-checkout: ${{ github.event_name == 'pull_request_target' && github.event.action == 'labeled' && github.event.label.name == 'safe-to-deploy' }}- uses: ./.github/actions/submodules-checkoutwith:@@ -166,6 +170,7 @@ jobs:- uses: actions/checkout@v5with:ref: ${{ github.event.pull_request.head.sha || github.sha }}+ allow-unsafe-pr-checkout: ${{ github.event_name == 'pull_request_target' && github.event.action == 'labeled' && github.event.label.name == 'safe-to-deploy' }}- id: builduses: ./.github/actions/builder-e2e-build@@ -183,6 +188,7 @@ jobs:- uses: actions/checkout@v5with:ref: ${{ github.event.pull_request.head.sha || github.sha }}+ allow-unsafe-pr-checkout: ${{ github.event_name == 'pull_request_target' && github.event.action == 'labeled' && github.event.label.name == 'safe-to-deploy' }}- uses: ./.github/actions/ci-setupwith:@@ -210,6 +216,7 @@ jobs:- uses: actions/checkout@v5with:ref: ${{ github.event.pull_request.head.sha || github.sha }}+ allow-unsafe-pr-checkout: ${{ github.event_name == 'pull_request_target' && github.event.action == 'labeled' && github.event.label.name == 'safe-to-deploy' }}- uses: ./.github/actions/builder-e2e-shardwith: