forked from dell/common-github-actions
-
Notifications
You must be signed in to change notification settings - Fork 0
70 lines (65 loc) · 2.17 KB
/
trigger-go-workflow.yaml
File metadata and controls
70 lines (65 loc) · 2.17 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
# Trigger workflow for go version update on CSM projects
name: Trigger Go Version Workflow
on:
schedule:
# Runs on the 12th hour on the first day of every month.
- cron: '0 12 1 * *'
# Can be manually triggered
workflow_dispatch:
jobs:
trigger:
name: Trigger Go Version Update
runs-on: ubuntu-latest
strategy:
matrix:
repo:
[
"dell/cert-csi",
"dell/common-github-actions",
"dell/cosi",
"dell/csi-metadata-retriever",
"dell/csi-powerflex",
"dell/csi-powermax",
"dell/csi-powerscale",
"dell/csi-powerstore",
"dell/csi-unity",
"dell/csm",
"dell/csm-docs",
"dell/csm-logcollector",
"dell/csm-metrics-powermax",
"dell/csm-metrics-powerscale",
"dell/csm-metrics-powerstore",
"dell/csm-metrics-unity",
"dell/csm-operator",
"dell/csm-replication",
"dell/dell-csi-extensions",
"dell/gobrick",
"dell/gocsi",
"dell/gofsutil",
"dell/goiscsi",
"dell/gonvme",
"dell/gopowermax",
"dell/gopowerscale",
"dell/gopowerstore",
"dell/goscaleio",
"dell/gounity",
"dell/karavi-metrics-powerflex",
"dell/karavi-resiliency",
"dell/karavi-topology",
]
steps:
- name: Trigger Go Version Update
uses: peter-evans/repository-dispatch@v3
with:
# For token information, see: https://github.com/peter-evans/repository-dispatch/tree/main?tab=readme-ov-file#token
token: ${{ secrets.CSMBOT_PAT }}
repository: ${{ matrix.repo }}
event-type: go-update-workflow
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'