-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (29 loc) · 813 Bytes
/
Copy pathci.yml
File metadata and controls
36 lines (29 loc) · 813 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: CI
on:
pull_request:
push:
branches:
- main
jobs:
beautify:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
#- name: Run beautysh
# uses: illvart/beautysh-action@latest
# with:
# # Pass beautysh options in args, for example:
# args: './*/*.sh --indent-size 4'
- name: Run beautysh
uses: illvart/beautysh-action@latest
with:
args: './10X/*/*.sh --indent-size 4'
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: '[auto] ci: apply beautysh changes'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}