mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
Actions: enable CI runs on pull requests after approval
This commit is contained in:
4
.github/workflows/build-nightly.yml
vendored
4
.github/workflows/build-nightly.yml
vendored
@@ -11,10 +11,14 @@ on:
|
||||
default: false
|
||||
type: boolean
|
||||
workflow_call:
|
||||
pull_request:
|
||||
types: [ opened, synchronize, reopened, ready_for_review ]
|
||||
|
||||
jobs:
|
||||
set-envs:
|
||||
if: (github.event_name != 'schedule') || (github.repository == 'ROCKNIX/distribution' && github.ref_name == 'next')
|
||||
environment:
|
||||
name: ${{ github.event_name == 'pull_request' && 'pr-approval' || 'auto' }}
|
||||
runs-on: ubuntu-24.04
|
||||
outputs:
|
||||
NIGHTLY: ${{ github.event_name == 'workflow_dispatch' && inputs.release == true && 'no' || 'yes' }}
|
||||
|
||||
Reference in New Issue
Block a user