Skip to content

Commit

Permalink
Merge pull request #22 from flx-sta/feature/add-ci
Browse files Browse the repository at this point in the history
add filename lint to not end with `messages.json`
  • Loading branch information
Adri1 authored Oct 8, 2024
2 parents fc4a1ef + 7ac3208 commit eefd009
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
# Checks if any files end with `messages.json` and fails if any are found
validate-filenames:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Filename Inspector
uses: scheduleonce/[email protected]
with:
pattern: ^(?!.*messages\.json$).* # Match files that do NOT end with 'messages.json'
path: "**/*.json"

0 comments on commit eefd009

Please sign in to comment.