Skip to content

Commit b3f19b8

Browse files
authored
Update FormatCheck workflow configuration
1 parent f37d338 commit b3f19b8

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

.github/workflows/FormatCheck.yml

Lines changed: 10 additions & 12 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"
17-
uses: "QuantumKitHub/QuantumKitHubActions/.github/workflows/FormatCheck.yml@main"
15+
uses: "QuantumKitHub/QuantumKitHubActions/.github/workflows/FormatCheck.yml@main"

0 commit comments

Comments
 (0)