Skip to content

An attempt to fix the failing builds #24

An attempt to fix the failing builds

An attempt to fix the failing builds #24

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
with:
ref: ${{ github.head_ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- 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