Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/generate_terraform_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ on:
type: boolean
description: Whether to enable auto-merge for the created pull request.
default: true
secrets:
github-token:
description: Token used to create the pull request. Use a PAT to allow CI to trigger on the resulting PR.
required: false

jobs:
docs:
Expand All @@ -35,7 +39,7 @@ jobs:
uses: canonical/create-pull-request@main
if: ${{ github.event_name != 'pull_request' }}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.github-token || secrets.GITHUB_TOKEN }}
commit-message: "chore(docs): Update Terraform documentation"
branch-name: terraform-docs
title: "chore(docs): Update Terraform documentation"
Expand Down
4 changes: 4 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

Each revision is versioned by the date of the revision.

## 2026-03-22

- Add optional `github-token` secret to the `generate_terraform_docs` workflow to allow callers to pass a PAT, enabling CI workflows to trigger on the resulting pull request.

## 2026-03-10

- Drop leftover registry input.
Expand Down
Loading