File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Restyled
2
+
3
+ on :
4
+ pull_request :
5
+
6
+ concurrency :
7
+ group : ${{ github.workflow }}-${{ github.ref }}
8
+ cancel-in-progress : true
9
+
10
+ jobs :
11
+ restyled :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v4
15
+ with :
16
+ ref : ${{ github.event.pull_request.head.ref }}
17
+
18
+ - uses : restyled-io/actions/setup@v4
19
+ - id : restyler
20
+ uses : restyled-io/actions/run@v4
21
+ with :
22
+ fail-on-differences : true
23
+
24
+ - if : |
25
+ !cancelled() &&
26
+ steps.restyler.outputs.success == 'true' &&
27
+ github.event.pull_request.head.repo.full_name == github.repository
28
+ uses: peter-evans/create-pull-request@v6
29
+ with:
30
+ base: ${{ steps.restyler.outputs.restyled-base }}
31
+ branch: ${{ steps.restyler.outputs.restyled-head }}
32
+ title: ${{ steps.restyler.outputs.restyled-title }}
33
+ body: ${{ steps.restyler.outputs.restyled-body }}
34
+ labels: "restyled"
35
+ reviewers: ${{ github.event.pull_request.user.login }}
36
+ delete-branch: true
You can’t perform that action at this time.
0 commit comments