Skip to content

Automatically check model & create repo files #3

Automatically check model & create repo files

Automatically check model & create repo files #3

Workflow file for this run

name: Asset Quality Workflow
on: [push, pull_request]
env:
CI: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: latest
- name: Execute PHP script
run: |
git status
php util/model.php --no-warn --check --update --process-repo --verbose
- name: Commit list of files back into the repository
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git status
git add --verbose .
git diff-index HEAD || git commit -m "Updating generated Repo indices"
git push