Skip to content

Commit 0701281

Browse files
Maximilian-Stefan-ErnstAlexey Stukalov
andauthored
fix format check workflow
Fixes the format checking, because when run in pull_request_target, it does not check out the correct commit Co-authored-by: Alexey Stukalov <astukalol@seer.bio>
1 parent f6f943c commit 0701281

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/FormatCheck.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
name: Format suggestions
22
on:
3-
pull_request_target:
4-
# this argument is not required if you don't use the `suggestion-label` input
5-
types: [ opened, reopened, synchronize, labeled, unlabeled ]
3+
push: # Runs on all pushes to any branch
4+
pull_request: # Runs on all PR events (open, sync, reopen)
65
jobs:
76
code-style:
87
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)