Skip to content

Added isotope/gtag-events #1191

Added isotope/gtag-events

Added isotope/gtag-events #1191

Workflow file for this run

name: Validate the metadata syntax
on:
workflow_dispatch: ~
pull_request:
paths:
- 'meta/**'
schedule:
- cron: '0 12 * * 1'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Set up Aspell
run: sudo apt-get install aspell aspell-en aspell-de aspell-cs aspell-es aspell-fr
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
extensions: json
- uses: actions/checkout@v2
- run: git fetch --prune --unshallow
- name: Cache Composer vendor
uses: actions/cache@v1
with:
path: linter/vendor/
key: ${{ runner.os }}-linter-vendor
- name: Install Composer dependencies
run: cd linter && composer install --no-interaction --no-suggest
- name: Find changed files
run: |
echo "metafiles=$(git diff --name-only origin/main -- | grep -E "^meta/[^/]+/[^/]+/.+?\.(yml|json)" | uniq | tr '\n' ' ')" >> $GITHUB_ENV
- name: Lint files
run: linter/lint ${{ env.metafiles }}