Skip to content

Commit e8752bb

Browse files
committed
Add generate-test-packages capability to CI.
(cinnamon-screensaver dep intentionally left out due to existing PR to eliminate it).
1 parent 0904235 commit e8752bb

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,12 @@ on:
1414
description: 'Start an SSH server on failure.'
1515
required: false
1616
default: false
17+
issue_comment:
18+
types: [created]
1719

1820
jobs:
1921
build:
22+
if: github.event_name != 'issue_comment'
2023
uses: linuxmint/github-actions/.github/workflows/do-builds.yml@master
2124
with:
2225
commit_id: master
@@ -35,3 +38,27 @@ jobs:
3538
linuxmint/xapp,
3639
linuxmint/xdg-desktop-portal-xapp
3740
##############################
41+
42+
# Generate test packages when /generate-test-packages is commented on a PR
43+
generate-test-packages:
44+
if: github.event_name == 'issue_comment' && github.event.issue.pull_request
45+
uses: linuxmint/github-actions/.github/workflows/generate-test-packages.yml@master
46+
secrets: inherit
47+
with:
48+
comment_body: ${{ github.event.comment.body }}
49+
comment_user: ${{ github.event.comment.user.login }}
50+
comment_id: ${{ github.event.comment.id }}
51+
issue_number: ${{ github.event.issue.number }}
52+
############################## Comma separated list - like 'linuxmint/xapp, linuxmint/cinnamon-desktop'
53+
dependencies: >
54+
linuxmint/cinnamon-control-center,
55+
linuxmint/cinnamon-desktop,
56+
linuxmint/cinnamon-menus,
57+
linuxmint/cinnamon-session,
58+
linuxmint/cinnamon-settings-daemon,
59+
linuxmint/cinnamon-translations,
60+
linuxmint/cjs,
61+
linuxmint/muffin,
62+
linuxmint/nemo,
63+
linuxmint/xapp,
64+
linuxmint/xdg-desktop-portal-xapp

0 commit comments

Comments
 (0)