Skip to content

Commit 6b8f40d

Browse files
committed
adding a style checks actions
1 parent f1f9814 commit 6b8f40d

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/style-checks.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
on:
2+
pull_request_target:
3+
types: [assigned, opened, synchronize, reopened, labeled]
4+
branches:
5+
- master
6+
- release
7+
name: Style Checks
8+
jobs:
9+
#----------------------------------------------------------------------------
10+
# Style checks
11+
#----------------------------------------------------------------------------
12+
style_checks:
13+
name: Formatting Check
14+
runs-on: ubuntu-latest
15+
env:
16+
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
with:
21+
ref: ${{github.event.pull_request.head.ref}}
22+
repository: ${{github.event.pull_request.head.repo.full_name}}
23+
fetch-depth: 1
24+
lfs: false
25+
26+
- name: Style checks
27+
uses: f3d-app/style-checks-action@main

0 commit comments

Comments
 (0)