Skip to content

Commit 3e03ff0

Browse files
committed
Add git-based whitespace check
1 parent a69c630 commit 3e03ff0

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Git Whitespace Check Workflow
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
paths-ignore:
8+
- 'docs/**'
9+
- '.github/**'
10+
pull_request:
11+
branches: [ develop ]
12+
workflow_dispatch:
13+
14+
jobs:
15+
check_whitespace_dispatch:
16+
name: Check Git whitespace
17+
uses: art-daq/.github/.github/workflows/git-whitespace.yml@stable
18+
with:
19+
against-ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event_name == 'push' && github.event.before || 0 }}

0 commit comments

Comments
 (0)