Skip to content

Commit 7461394

Browse files
authored
Update set as draft workflow to run only if user isn't a bot
1 parent c5857a8 commit 7461394

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/Shared-TierManagement.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ jobs:
449449
450450
set-draft:
451451
name: Set PR as draft
452-
if: github.repository_owner == 'MicrosoftDocs' && github.event_name == 'pull_request_target' && github.event.pull_request.user.login != 'm365-skilling-repo-management[bot]'
452+
if: github.repository_owner == 'MicrosoftDocs' && github.event_name == 'pull_request_target' && !contains(github.event.pull_request.user.login, '[bot]')
453453
runs-on: ubuntu-latest
454454
steps:
455455
- name: Script

0 commit comments

Comments
 (0)