-
Notifications
You must be signed in to change notification settings - Fork 4
45 lines (37 loc) · 1.17 KB
/
helm-docs.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
name: Create helm-docs
on:
pull_request:
merge_group:
push:
branches:
- main
workflow_dispatch:
concurrency:
group: '${{ github.workflow }} @ ${{ github.ref }}'
cancel-in-progress: true
jobs:
helm-docs:
runs-on: ubuntu-latest
steps:
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92
with:
app_id: ${{ secrets.PROJECT_ACTIONS_MANAGEMENT_APP_ID }}
private_key: ${{ secrets.PROJECT_ACTIONS_MANAGEMENT_APP_PEM }}
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ steps.generate_token.outputs.token }}
- name: Run helm-docs from go
working-directory: charts/studio/
run: |
go run github.com/norwoodj/helm-docs/[email protected]
- name: Run helm-docs
working-directory: charts/studio/
run: |
docker run --pull always --rm --volume "$(pwd):/helm-docs" -u $(id -u) jnorwood/helm-docs:latest
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Helm-Docs update
file_pattern: charts/studio/README.md