armbian-build/.github/workflows/build-deskktop-pr.yml
Igor Pečovnik 1cccbf481e
Several small fixes to CI scripting (#3905)
* Restore permission to make script work

We need to rework this, but until then things has to work.

* Permission issuers

* We don't try to cancel previous as it doesn't work

* Update

* Renaming, remove deprecated

* Add comments

* Prevent running scorecard on forks

* Update
2022-06-18 23:53:45 +02:00

32 lines
649 B
YAML

name: Build Desktops at PR
#
# Generates supported desktops for uefi-arm64, uefi-x86 and rpi4 if label "desktop is set"
#
on:
workflow_dispatch:
pull_request:
types: [ready_for_review]
pull_request_review:
types: [submitted]
permissions:
contents: read
jobs:
Maintain:
permissions:
contents: none
if: ${{ github.repository_owner == 'Armbian' && contains( github.event.pull_request.labels.*.name, 'Desktop :desktop_computer:') }}
uses: armbian/scripts/.github/workflows/build-test-image-docker.yml@master
with:
runner: "ubuntu-latest"
reference: ${{ github.event.pull_request.head.sha }}