Skip to content

Commit

Permalink
Prevent directory ending in period and fix existing
Browse files Browse the repository at this point in the history
  • Loading branch information
tombeynon committed Nov 10, 2023
1 parent e92ddee commit 9506482
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: Validating filenames
with:
path: '!(*.schema.json|README*|.gitignore)'
pattern: '^[a-zA-Z0-9._-]*$'
pattern: '^[a-zA-Z0-9._-]*[^\.]$'

- name: Validate profile.json schema
uses: walbo/[email protected]
Expand All @@ -34,4 +34,4 @@ jobs:
files: ./*/services.json
schema: services.schema.json
schema-version: draft-07
fail-on-missing-schema: true
fail-on-missing-schema: true
File renamed without changes.
File renamed without changes.

0 comments on commit 9506482

Please sign in to comment.