Skip to content

validate & sync

validate & sync #2

Workflow file for this run

name: validate & sync
on:
workflow_dispatch:
pull_request:
branches: [ master ]
jobs:
lint-and-validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: PHP Lint
uses: michaelw90/[email protected]
- name: Check for any changed config.json files
id: check-for-changed-configs
uses: tj-actions/changed-files@v41
with:
files: |
configs/conferences/**/config.json
- name: Validate json files
if: steps.check-for-changed-configs.outputs.any_changed == 'true'
uses: dsanders11/[email protected]
with:
schema: docs/config-schema.json
files: configs/conferences/**/config.json
mirror:
if: secrets.SSH_PRIVATE_KEY != ''

Check failure on line 34 in .github/workflows/validate+sync.yml

View workflow run for this annotation

GitHub Actions / validate & sync

Invalid workflow file

The workflow is not valid. .github/workflows/validate+sync.yml (Line: 34, Col: 9): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.SSH_PRIVATE_KEY != ''
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Mirror to VOC gitolite
uses: pixta-dev/[email protected]
with:
target_repo_url:
[email protected]:streaming-website.git
ssh_private_key:
${{ secrets.SSH_PRIVATE_KEY }}