* Enable creating images on PR when label is set to "Desktop" * Only approved can start this action
20 lines
484 B
YAML
20 lines
484 B
YAML
name: Build desktop at pull request
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
types: [ labeled ]
|
|
paths-ignore:
|
|
- .github/workflows
|
|
|
|
jobs:
|
|
|
|
Maintain:
|
|
if: ${{ github.repository_owner == 'Armbian' && github.event.label.name == 'Desktop' && github.event.review.state == 'approved' }}
|
|
uses: armbian/scripts/.github/workflows/build-test-image-docker.yml@master
|
|
|
|
with:
|
|
|
|
runner: "ubuntu-latest"
|
|
reference: ${{ github.event.pull_request.head.sha }}
|