Update end time for 39C3 conference #220
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: validate & sync | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: [ master ] | |
| push: | |
| branches: [ master ] | |
| jobs: | |
| lint-and-validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: PHP Lint | |
| uses: michaelw90/PHP-Lint@2.1.0 | |
| - name: Check for any changed config.json files | |
| id: check-for-changed-configs | |
| uses: tj-actions/changed-files@v46 | |
| with: | |
| files: | | |
| configs/conferences/**/config.json | |
| - name: Validate json files | |
| if: steps.check-for-changed-configs.outputs.any_changed == 'true' | |
| uses: dsanders11/json-schema-validate-action@v1.2.0 | |
| with: | |
| schema: docs/config-schema.json | |
| files: configs/conferences/**/config.json | |
| mirror: | |
| runs-on: ubuntu-latest | |
| if: ${{ github.ref != 'refs/heads/master' || (github.event_name == 'push' && contains(github.event.head_commit.message, 'Merge pull request')) }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Mirror to VOC forgejo | |
| env: | |
| secrets_available: ${{ secrets.SSH_PRIVATE_KEY }} != '' | |
| if: ${{ env.secrets_available }} | |
| uses: pixta-dev/repository-mirroring-action@v1.1.1 | |
| with: | |
| target_repo_url: | |
| ssh://forgejo.c3voc.de/voc/streaming-website.git | |
| ssh_username: forgejo | |
| ssh_private_key: | |
| ${{ secrets.SSH_PRIVATE_KEY }} |