Skip to content

Simplify/Refactor BranchCommitEnricher #55657

Simplify/Refactor BranchCommitEnricher

Simplify/Refactor BranchCommitEnricher #55657

Workflow file for this run

name: "Fluid PR Validation"
on:
pull_request:
types:
- opened # PR is created
- synchronize # commits added to PR
- reopened # closed PR re-opened
- edited # title or body edited, or base branch changed
branches:
- main
- next
- release/**/*
permissions:
pull-requests: write
jobs:
validate-codeowners:
name: Validate CODEOWNERS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: false
- uses: mszostok/codeowners-validator@7f3f5e28c6d7b8dfae5731e54ce2272ca384592f # ratchet:mszostok/[email protected]
with:
github_access_token: "${{ secrets.GITHUB_TOKEN }}"
checks: "files,duppatterns,syntax"
# This job checks that PR template placeholder content has been removed from the PR body.
placeholder-content:
name: PR template placeholder content
runs-on: ubuntu-latest
steps:
- uses: sitezen/pr-comment-checker@f1e956fac00c6d1163d15841886ae80b7ae58ecb # ratchet:sitezen/[email protected]
with:
pr_description_should_not_contain: |
Feel free to remove or alter parts of this template that do not offer value for your specific change
wrong_pr_description_message: |
Your PR description contains placeholder content from the PR template. Remove or replace the placeholder
content. More information at:
https://github.com/microsoft/FluidFramework/wiki/Commit-message-style#pr-template-content