diff --git a/.github/workflows/check-for-build-warnings.yml b/.github/workflows/check-for-build-warnings.yml index deb8c8b53f4..fffc8f2bcdd 100644 --- a/.github/workflows/check-for-build-warnings.yml +++ b/.github/workflows/check-for-build-warnings.yml @@ -1,7 +1,7 @@ name: 'OPS status checker' on: - pull_request_target: + pull_request: types: [opened, synchronize, reopened] permissions: @@ -20,7 +20,6 @@ jobs: with: egress-policy: audit - - uses: dotnet/docs-tools/actions/status-checker@main + - uses: dotnet/docs-tools/actions/status-checker@455480c2e1c2fa90ecb711963250f000d66d3251 #main with: repo_token: ${{ secrets.GITHUB_TOKEN }} - mode: "warning"