Files @ r27836:e1c1dfbccca2
Branch filter:

Location: cpp/openttd-patchpack/source/.github/workflows/preview.yml - annotation

Patric Stout
Fix: [CI] Allow release-flow to run in forks (while skipping survey-key) (#11241)
name: Preview

on:
  pull_request_target:
    types:
    - labeled
    - synchronize
    branches:
    - master

concurrency:
  group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
  cancel-in-progress: true

jobs:
  preview:
    if: ${{ (github.event.action == 'labeled' && github.event.label.name == 'preview') || (github.event.action != 'labeled' && contains(github.event.pull_request.labels.*.name, 'preview')) }}
    name: Preview
    uses: ./.github/workflows/preview-build.yml
    secrets: inherit