Skip to content

Commit

Permalink
Prevent bots from creating tickets
Browse files Browse the repository at this point in the history
  • Loading branch information
petertrr committed Dec 17, 2024
1 parent c7a38bb commit 2536d7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/PullRequestCreated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ jobs:
id-token: write
# For external PR, ticket should be created manually
if: |
github.event.pull_request.head.repo.full_name == github.repository
github.event.pull_request.head.repo.full_name == github.repository
&& github.event.sender.type != 'Bot'
steps:
- id: secrets
uses: SonarSource/vault-action-wrapper@v3
Expand Down

0 comments on commit 2536d7a

Please sign in to comment.