1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Run only labeled workflow (#1111)

This commit is contained in:
Sergey Panteleev
2024-11-01 21:45:33 +03:00
committed by GitHub
parent fcc95652d8
commit 2f24f8eef1

View File

@@ -1,11 +1,12 @@
name: Preview PR
on:
pull_request_target:
types: [ labeled ]
jobs:
build:
runs-on: "ubuntu-22.04"
if: github.repository_owner == 'php'
if: "github.repository_owner == 'php' && github.event.label.name == 'Status: Preview Allowed'"
steps:
- uses: actions/checkout@v4
with:
@@ -39,7 +40,7 @@ jobs:
name: "Visual Tests"
runs-on: "ubuntu-latest"
if: github.repository_owner == 'php'
if: "github.repository_owner == 'php' && github.event.label.name == 'Status: Preview Allowed'"
strategy:
matrix: