Skip to content

Commit c9beadb

Browse files
committed
add check for build warnings workflow
1 parent 43f0e20 commit c9beadb

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: 'OPS status checker'
2+
3+
on:
4+
pull_request_target:
5+
types: [opened, synchronize, reopened]
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
status_checker_job:
12+
name: Look for build warnings
13+
runs-on: ubuntu-latest
14+
permissions:
15+
statuses: read
16+
pull-requests: write
17+
steps:
18+
- name: Harden Runner
19+
uses: step-security/harden-runner@c6295a65d1254861815972266d5933fd6e532bdf # v2.11.1
20+
with:
21+
egress-policy: audit
22+
23+
- uses: dotnet/docs-tools/actions/status-checker@main
24+
with:
25+
repo_token: ${{ secrets.GITHUB_TOKEN }}
26+
docs_path: "docs"
27+
url_base_path: "dotnet"

0 commit comments

Comments
 (0)