Github actions update (#3193)

This commit is contained in:
Igor Pečovnik 2021-10-13 17:36:18 +02:00 committed by GitHub
parent a52cc0542e
commit 095be1ba57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 52 additions and 5 deletions

35
.github/labeler.yml vendored Normal file
View File

@ -0,0 +1,35 @@
# This configures label matching for PR's.
#
# The keys are labels, and the values are lists of minimatch patterns
# to which those labels apply.
#
# NOTE: This can only add labels, not remove them.
# NOTE: Due to YAML syntax limitations, patterns or labels which start
# with a character that is part of the standard YAML syntax must be
# quoted.
#
# Please keep the labels sorted and deduplicated.
"c:u-boot":
- patch/u-boot/*
- patch/atf/*
- config/bootenv/*
- config/bootscripts/*
"c:kernel":
- patch/kernel/*
- patch/misc/*
- config/kernel/*
- config/sources/*
"c:build script":
- lib/*
"c:desktop":
- config/desktop/*
"c:cli":
- config/cli/*
"c:ci":
- .github/*

View File

@ -2,15 +2,15 @@ name: Build beta images
on:
workflow_dispatch:
inputs:
# inputs:
# build_chunks:
# description: 'Build chunks'
# required: false
# default: '22'
workflow_run:
workflows: ["Build beta kernel packages"]
types:
- completed
# workflow_run:
# workflows: ["Build beta kernel packages"]
# types:
# - completed
jobs:
Prepare:

View File

@ -360,6 +360,7 @@ jobs:
git-commit-gpgsign: true
- name: Download artefacts
if: ${{ env.SKIP != 'yes' }}
uses: actions/download-artifact@v2
with:
name: hash

11
.github/workflows/labeler.yml vendored Normal file
View File

@ -0,0 +1,11 @@
name: "Automatic Labeler"
on:
- pull_request_target
jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v3
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"