Skip to content

Commit

Permalink
Enable clang-format check
Browse files Browse the repository at this point in the history
  • Loading branch information
figi44 committed Jun 8, 2023
1 parent 51d3bf3 commit fb1c3c6
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ on:
# Trigger the workflow on push to master or develop, except tag creation
push:
branches:
- "master"
- "develop"
- 'master'
- 'develop'
tags-ignore:
- "**"
- '**'

# Trigger the workflow on pull request
pull_request: ~
Expand Down Expand Up @@ -82,3 +82,10 @@ jobs:
eckit: ecmwf/eckit@${{ github.event.pull_request.head.sha || github.sha }}
codecov: true
secrets: inherit

formatting:
if: ${{ !github.event.pull_request.head.repo.fork && github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci' }}
uses: ecmwf-actions/reusable-workflows/.github/workflows/clang-format.yml@v2
with:
ignore_paths: |
src/eckit/contrib

0 comments on commit fb1c3c6

Please sign in to comment.