chore: release v0.2.0 #94
Workflow file for this run
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: Release check | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-publish: | |
name: "Check release docs" | |
timeout-minutes: 15 | |
runs-on: ubuntu-22.04 | |
if: startsWith(github.head_ref, 'release-') | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Unshallow | |
run: git fetch --prune --unshallow | |
- name: Release version | |
shell: bash | |
id: release | |
run: | | |
echo "TAG=v${GITHUB_HEAD_REF:8}" >> "$GITHUB_ENV" | |
- name: Helm docs | |
uses: gabe565/setup-helm-docs-action@v1 | |
- name: Generate | |
run: make docs | |
- name: Check | |
run: git diff --exit-code |