Skip to content

chore(deps): bump github/codeql-action from 4.31.5 to 4.31.6 #107

chore(deps): bump github/codeql-action from 4.31.5 to 4.31.6

chore(deps): bump github/codeql-action from 4.31.5 to 4.31.6 #107

Workflow file for this run

name: Documentation
on:
pull_request:
types:
- closed
branches:
- main
- test-docs-generator # for testing
permissions:
contents: read
jobs:
update:
name: Update
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: Setup Go
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version-file: 'go.mod'
- name: Generate documentation
run: make docs
- name: Create PR for docs update
uses: peter-evans/create-pull-request@84ae59a2cdc2258d6fa0732dd66352dddae2a412 # v7.0.9
with:
add-paths: docs/
branch: chore/update-docs
commit-message: "chore(docs): update documentation for #${{ github.event.number }}"
committer: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
reviewers: ${{ github.actor }}
title: Update documentation
body: "This is an automatically created PR. Changes were created by running `make docs` after merging #${{ github.event.number }} (${{ github.sha }})."
base: ${{ github.event.pull_request.base.ref }}