forked from ros/rosdistro
-
Notifications
You must be signed in to change notification settings - Fork 9
54 lines (51 loc) · 1.35 KB
/
triggers.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
name: Fire Triggers
on:
workflow_dispatch:
push:
branches: ['master']
paths:
- 'humble/*'
jobs:
trigger_build:
name: Fire Build Triggers
runs-on: ubuntu-latest
strategy:
matrix:
distro: [humble]
steps:
- uses: lasith-kg/dispatch-workflow@v1
id: workflow-dispatch_develop
name: 'Trigger build of missing packages'
with:
dispatch-method: workflow_dispatch
repo: docker-dpkg-build
owner: LCAS
ref: refs/heads/master # or main
workflow: build-chain.yaml # Or Workflow ID
token: ${{ secrets.ORGA_GH_TOKEN }} # GitHub Token With Relevant Permissions
workflow-inputs: |
{
"ros_distro": "${{ matrix.distro }}"
}
trigger_report:
name: Fire Report Triggers
runs-on: ubuntu-latest
strategy:
matrix:
distro: [humble]
steps:
- uses: lasith-kg/dispatch-workflow@v1
id: workflow-dispatch_develop
name: 'Trigger report'
with:
dispatch-method: workflow_dispatch
repo: rosdistro
owner: LCAS
ref: refs/heads/master # or main
workflow: report.yaml # Or Workflow ID
token: ${{ secrets.ORGA_GH_TOKEN }} # GitHub Token With Relevant Permissions
workflow-inputs: |
{
"ros_distro": "humble"
}