Skip to content

Commit

Permalink
ci: raise an error if integration folder name contains hyphens (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
masci authored Dec 18, 2023
1 parent a26e6fa commit 428c425
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/CI_check_integration_format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Core / Check Integration Format
on:
- pull_request

jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Ensure no hyphens
run: |
set +e
find -name "*-*" -type d -maxdepth 2 | grep integrations
test "$?" -eq 1 && exit 0 || echo "::error::Names of folders in ./integrations must not contain hyphens" && exit 1

0 comments on commit 428c425

Please sign in to comment.