File tree Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow uses release-please to automate changelog and release PRs for each subdirectory in a monorepo.
2+ # It runs when a new tag is created, and updates changelogs for each package.
3+
4+ name : release-please-monorepo
5+
6+ on :
7+ push :
8+ tags :
9+ - ' *'
10+
11+ jobs :
12+ release-please :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout repository
16+ uses : actions/checkout@v4
17+
18+ - name : Set up Node.js
19+ uses : actions/setup-node@v4
20+ with :
21+ node-version : ' 20'
22+
23+ - name : Run release-please for each package
24+ uses : googleapis/release-please-action@v4
25+ with :
26+ monorepo-tags : true
27+ token : ${{ secrets.GITHUB_TOKEN }}
28+ # List each subdirectory you want to manage as a package
29+ # Add or remove entries as needed for your monorepo structure
30+ packages : |
31+ ansible
32+ blog/2023-11-12
33+ blog/2023-11-19
34+ computer-network/OpenVPN
35+ computer-network/VLAN
36+ computer-network/Zabbix-via-SNMP
37+ file-server
38+ fluentbit
39+ grafana-stack
40+ haproxy
41+ kubernetes
42+ log-web-viewer
43+ logstash
44+ loki
45+ minio
46+ nginx
47+ opensearch
48+ packer
49+ rpm-packaging-copr
50+ tls-ssl
51+ zabbix
Original file line number Diff line number Diff line change 1+ xxx
You can’t perform that action at this time.
0 commit comments