Add PipePipe.json #208
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: Automkconfig | |
on: | |
push: | |
paths: | |
- 'rules/apps/**.json' | |
- 'rules/hubs/**.json' | |
jobs: | |
mkconfig: | |
runs-on: | |
- ubuntu-latest | |
strategy: | |
max-parallel: 1 | |
matrix: | |
python-version: [3.12] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.ref }} | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Automkconfig | |
env: | |
GITHUB_COMMIT: ${{ github.event.head_commit.message }} | |
run: | | |
PYTHONPATH=./scripts/make/ python ./scripts/make/mkconfig.py | |
git config user.name 'github-actions[bot]' | |
git config user.email 'github-actions[bot]@users.noreply.github.com' | |
git add rules/rules.json | |
git commit -m "$GITHUB_COMMIT" | |
git push |