Skip to content

fix(deps): update module github.com/google/yamlfmt to v0.20.0 (#226) #286

fix(deps): update module github.com/google/yamlfmt to v0.20.0 (#226)

fix(deps): update module github.com/google/yamlfmt to v0.20.0 (#226) #286

Workflow file for this run

name: Update docs
permissions: {}
on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
update-docs:
name: Update Docs
timeout-minutes: 10
runs-on: ubuntu-latest
permissions:
contents: write # needed to commit generated documentation updates
pull-requests: write # needed to open a PR with the doc changes
steps:
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
with:
persist-credentials: false
- uses: ./.github/actions/setup
- name: Update docs
id: update-docs
run: |
go run ./docs/update.go
git add .
if git diff --staged --exit-code --quiet; then
echo "No changes."
else
echo "Changes detected."
echo "diff=true" >> "${GITHUB_OUTPUT}"
fi
- uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
if: ${{ steps.update-docs.outputs.diff == 'true' }}
with:
token: ${{ github.token }}
title: "chore: Update docs"
body: ${{ github.sha }}
branch: docs/update