Skip to content

Commit

Permalink
Adds status checks for docs changes PRs
Browse files Browse the repository at this point in the history
As discussed, this adds status checks on PRs for the docs to surface warnings/errors a bit better without adding the noise of the comments in the PR itself.
  • Loading branch information
jfversluis committed Apr 2, 2024
1 parent d31bfc1 commit 3af1fa3
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/check-for-build-warnings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: 'OPS status checker'

on:
pull_request_target:
types: [opened, synchronize, reopened]

jobs:
status_checker_job:
name: Look for build warnings
runs-on: ubuntu-latest
permissions:
statuses: write
issues: write
pull-requests: write
steps:
- uses: actions/checkout@v3
- uses: dotnet/docs-actions/actions/status-checker@main
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
docs_path: "docs"
url_base_path: "dotnet/communitytoolkit"

0 comments on commit 3af1fa3

Please sign in to comment.