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