Skip to content

Show Terraform plan status on the terraform-docs commit - #229

Merged
ale210 merged 1 commit into
mainfrom
plan-status-on-docs-commit
Nov 20, 2026
Merged

ale210 merged 1 commit into
mainfrom
plan-status-on-docs-commit

Conversation

@ale210

@ale210 ale210 commented Nov 19, 2026

Copy link
Copy Markdown
Member

The PR page shows no checks while Terraform plan runs. The terraform-docs job pushes a README commit (with the skip-ci marker) a few seconds into the run, that commit becomes the PR head, and check runs stay on the commit that triggered the workflow.

  • terraform-docs now runs first and outputs the SHA of the commit it pushed, if any.
  • terraform-plan waits for it, then posts a pending "Terraform Plan" commit status to that commit and the final result when it finishes. It still runs if the docs job fails.
  • Nothing changes when terraform-docs has nothing to commit.

The plan starts about 10–15 seconds later than before.

After this merges, on the next PR whose README terraform-docs updates: confirm "Terraform Plan" shows on the PR page while the plan runs and stays after it finishes.

@ale210
ale210 merged commit 9e0b031 into main Nov 20, 2026
1 check passed
@ale210
ale210 deleted the plan-status-on-docs-commit branch November 20, 2026 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant