-
Notifications
You must be signed in to change notification settings - Fork 15
35 lines (31 loc) · 1010 Bytes
/
release.yml
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
name: Release
on:
push:
branches:
- master
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
token: ${{ secrets.ROBOT_GITHUB_TOKEN }}
lfs: true
ref: master
- name: Update module docs
uses: terraform-docs/gh-actions@main
with:
working-dir: .
output-file: README.md
output-method: inject
git-push: "true"
git-push-user-name: cle-robot
git-push-user-email: [email protected]
git-commit-message: "chore: update module docs [skip ci]"
- name: Create release
uses: GoogleCloudPlatform/release-please-action@v2
with:
token: ${{ secrets.ROBOT_GITHUB_TOKEN }}
release-type: terraform-module
changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Fixes","hidden":false},{"type":"improvement","section":"Improvements","hidden":false}]'