Workflow file for this run
This file contains 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: Check config.php is up-to-date with JSON configuration files | |
on: pull_request | |
permissions: | |
contents: read | |
concurrency: | |
group: config-up-to-date-check-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
config-up-to-date-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Make sure config.php is up-to-date with JSON files | |
run: | | |
mv config/config.php config/config_pr.php | |
make config/config.php | |
diff config/config_pr.php config/config.php |