chore: Add three wordlists #5
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: Update generated files | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
update_generated_file: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.PAT }} | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Make README file | |
run: python tools/make_readme.py | |
- name: Make JSON file | |
run: python tools/make_json.py | |
- name: Check if there are any changes | |
id: verify_diff | |
run: | | |
git diff --quiet . || echo "changed=true" >> $GITHUB_OUTPUT | |
- name: Update README file | |
if: steps.verify_diff.outputs.changed == 'true' | |
run: | | |
git config --global user.name 'Krypton' | |
git config --global user.email '[email protected]' | |
git commit -am "chore: Automatic update with accurate wordlists for generated files [skip ci]" | |
git push |