mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Update PR Build workflow. (#564)
This commit is contained in:
@@ -1,17 +1,14 @@
|
|||||||
name: Alpha release
|
name: PR Build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
types: [ labeled, synchronize, opened, reopened ]
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
# Don't run for forks as secrets are unavailable.
|
# Only run for PRs that contain the trigger label. The action will fail for forks due to
|
||||||
if: |
|
# missing secrets, but there's no need to handle this as it won't run automatically.
|
||||||
github.event.pull_request.head.repo.full_name == github.repository &&
|
if: contains(github.event.pull_request.labels.*.name, 'Trigger-PR-Build')
|
||||||
(github.event_name == 'push' ||
|
|
||||||
(github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'Trigger-PR-Build')))
|
|
||||||
|
|
||||||
name: Release
|
name: Release
|
||||||
runs-on: macos-12
|
runs-on: macos-12
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Update PR Build workflow triggers.
|
||||||
Reference in New Issue
Block a user