Skip to content

refactor(task-selection): Promote eslint config and fix linter violations #71594

refactor(task-selection): Promote eslint config and fix linter violations

refactor(task-selection): Promote eslint config and fix linter violations #71594

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:
contents: read # for actions/checkout to fetch code
jobs:
validate-codeowners:
name: Validate CODEOWNERS
runs-on: ubuntu-latest
steps:
# release notes: https://github.com/actions/checkout/releases/tag/v6.0.0
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # ratchet:actions/checkout@v6
with:
persist-credentials: false
# release notes: https://github.com/mszostok/codeowners-validator/releases/tag/v0.7.4
- 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:
permissions:
pull-requests: write # for sitezen/pr-comment-checker to add comments to PRs
name: PR template placeholder content
runs-on: ubuntu-latest
steps:
# release notes: https://github.com/sitezen/pr-comment-checker/releases/tag/v1.0.1
- 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