Skip to content
Open
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
32 changes: 32 additions & 0 deletions WORKFLOW_BASELINE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Workflow Baseline Policy

This repository defines the organization-level baseline for GitHub collaboration and CI hygiene.

## Reusable workflow reference policy

- Do **not** reference reusable workflows with floating refs such as `@master` or `@main`.
- Use immutable refs:
- pinned commit SHA (preferred), or
- immutable release tag (prefer GitHub Releases and protected tags to prevent tag moves/force-updates).

Example:

```yaml
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@88efd7724e007c8f721a219498be29e0c9ad471b
```

## Pull request baseline

- Conventional Commit title required.
- Semantic PR title check required.
- CI checks must pass before merge.

## Terraform module baseline (org standard)

For Terraform module repositories, include:

- `terraform.required_version` in `versions.tf`
- explicit `required_providers` constraints
- pinned shared workflow refs in `.github/workflows/*`

These standards reduce supply-chain risk and improve CI reproducibility.