Skip to content

Commit 5bfa56c

Browse files
update formatcheck workflow
1 parent a8a0d42 commit 5bfa56c

1 file changed

Lines changed: 9 additions & 11 deletions

File tree

.github/workflows/FormatCheck.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
1-
name: FormatCheck
1+
name: 'Format'
22

33
on:
4-
push:
5-
branches:
6-
- 'main'
7-
- 'master'
8-
tags: '*'
9-
pull_request:
10-
branches:
11-
- 'main'
12-
- 'master'
4+
pull_request_target:
5+
paths: ['**/*.jl']
6+
types: [opened, synchronize, reopened, ready_for_review]
7+
8+
permissions:
9+
contents: read
10+
actions: write
11+
pull-requests: write
1312

1413
jobs:
1514
formatcheck:
16-
name: "Format Check"
1715
uses: "QuantumKitHub/QuantumKitHubActions/.github/workflows/FormatCheck.yml@main"

0 commit comments

Comments
 (0)