Use script from bin folder to run studio (#515) #1199
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v4 | |
with: | |
token: ${{ steps.generate_token.outputs.token }} | |
- 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@v5 | |
with: | |
commit_message: Helm-Docs update | |
file_pattern: charts/studio/README.md | |