Skip to content

Commit

Permalink
[Protected Files] Revert "Allow 'dependabot[bot]' to edit protected f…
Browse files Browse the repository at this point in the history
…iles" (#31386)

- Unintentionally allowed anyone with write access to approve and merge dependabot PRs
  • Loading branch information
mikeharder authored Nov 1, 2024
1 parent 608bff0 commit 93ebb71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/protected-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: pull_request

env:
# Users allowed to edit protected files without failing check
user-allowed: ${{ github.event.pull_request.user.login == 'azure-sdk' || github.event.pull_request.user.login == 'dependabot[bot]' }}
user-allowed: ${{ github.event.pull_request.user.login == 'azure-sdk' }}

jobs:
protected-files:
Expand Down

0 comments on commit 93ebb71

Please sign in to comment.