Skip to content

chore: standardize squad governance workflows#421

Merged
mpaulosky merged 2 commits into
devfrom
squad/999-governance-workflow-pack
Jul 1, 2026
Merged

chore: standardize squad governance workflows#421
mpaulosky merged 2 commits into
devfrom
squad/999-governance-workflow-pack

Conversation

@mpaulosky

@mpaulosky mpaulosky commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Applies the standard governance workflow pack: yamllint, markdownlint, main-from-dev guard, and dependabot auto-merge.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 1, 2026 18:11
@github-actions github-actions Bot added the squad Squad triage inbox — Lead will assign to a member label Jul 1, 2026
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

🏗️ PR Added to Squad Triage Queue

This PR has been labeled with squad and added to the triage queue.

Next steps:

  • The squad Lead will review and assign to an appropriate team member
  • A squad:member label will be added after triage

If you know which squad member should handle this, you can add the appropriate squad:member label yourself.

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

Test Results Summary

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit 63e5dfa.

@mpaulosky mpaulosky merged commit 2a96dc6 into dev Jul 1, 2026
3 of 9 checks passed
@mpaulosky mpaulosky deleted the squad/999-governance-workflow-pack branch July 1, 2026 18:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a “standard governance workflow pack” to the repository by introducing new GitHub Actions workflows for YAML linting, Markdown linting, a main-from-dev PR source guard, and Dependabot auto-merge.

Changes:

  • Added yamllint workflow for PRs targeting dev/main
  • Added markdownlint workflow for PRs targeting dev/main
  • Added guard workflow enforcing that PRs into main must come from dev
  • Added Dependabot auto-merge workflow for Dependabot PRs into dev

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 7 comments.

File Description
.github/workflows/squad-standard-lint-yaml.yml Adds a YAML lint workflow (currently uses default yamllint config, which is likely to fail on existing long YAML lines).
.github/workflows/squad-standard-lint-markdown.yml Adds a Markdown lint workflow (currently includes .squad/** which is likely to fail MD040 due to unlabeled code fences).
.github/workflows/squad-main-from-dev-guard.yml Adds a PR guard to enforce dev as the only allowed source branch for PRs into main.
.github/workflows/squad-dependabot-auto-merge.yml Adds Dependabot auto-merge workflow (duplicates existing workflow; missing concurrency guard found in the existing version).

echo "No YAML files found."
exit 0
fi
yamllint -s $files
Comment on lines +1 to +6
name: lint-yaml

on:
pull_request:
branches: [dev, main]
workflow_dispatch:
Comment on lines +18 to +23
files=$(git ls-files '*.md')
if [ -z "$files" ]; then
echo "No markdown files found."
exit 0
fi
npx --yes markdownlint-cli $files
Comment on lines +13 to +15
- uses: actions/setup-node@v5
with:
node-version: "20"
Comment on lines +1 to +6
name: lint-markdown

on:
pull_request:
branches: [dev, main]
workflow_dispatch:
Comment on lines +9 to +12
permissions:
contents: write
pull-requests: write

Comment on lines +1 to +7
name: Dependabot Auto-Merge

on:
pull_request_target:
types: [opened, reopened, synchronize, ready_for_review]
branches: [dev]
workflow_dispatch:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

squad Squad triage inbox — Lead will assign to a member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants