Fix rebase errors: add rpk back to go.mod, use StringSliceToTypeList instead of types.ListValueFrom #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: Build and Commit Documentation | |
on: | |
pull_request: | |
types: [labeled] | |
jobs: | |
build_and_commit: | |
if: contains(github.event.pull_request.labels.*.name, 'docs') | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
- run: make doc | |
- name: Commit changes | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Action" | |
git add . | |
git commit -m "Update documentation" || echo "No changes to commit" | |
git push origin HEAD:${{ github.head_ref }} |