mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-09 19:10:38 +00:00
22 lines
539 B
YAML
22 lines
539 B
YAML
name: Preview
|
|
|
|
on:
|
|
pull_request_target:
|
|
types:
|
|
- labeled
|
|
- synchronize
|
|
branches:
|
|
- master
|
|
- release/**
|
|
|
|
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
|