add auth_keywords to GitHub, GithubProxy, Gitlab, Gitlab_commit, Goog… #212
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: Automkconfig | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - 'rules/apps/**.json' | |
| - 'rules/hubs/**.json' | |
| jobs: | |
| mkconfig: | |
| runs-on: | |
| - ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4.0.0 | |
| with: | |
| python-version: 3.11-dev | |
| - 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 |