Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/policies/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ configuration:
label: ':octocat: auto-merge'
- targetsBranch:
branch: main
- or:
- isActivitySender:
user: dotnet-policy-service[bot]
- isActivitySender:
user: dotnet-policy-service[bot]
then:
- enableAutoMerge:
mergeMethod: Squash
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/check-for-build-warnings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 'OPS status checker'

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

permissions:
contents: read

jobs:
status_checker_job:
name: Look for build warnings
runs-on: ubuntu-latest
permissions:
statuses: read
pull-requests: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@c6295a65d1254861815972266d5933fd6e532bdf # v2.11.1
with:
egress-policy: audit

- uses: dotnet/docs-tools/actions/status-checker@main
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
mode: "warning"