Remove Ukraine logic from scripts and readme (#596) #10
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 README.md for Changes | |
permissions: | |
contents: write # Allow action to write back changes to repository. | |
on: | |
push: | |
branches: ["main"] | |
paths: | |
- "scripts/update_readme.py" | |
- "readme.mustache" | |
- "!plane-alert-db.csv" | |
- "!plane-alert-ukraine.csv" | |
- "!plane_images.csv" | |
- "!scripts/create_db_derivatives.py" | |
jobs: | |
updateREADME: | |
if: github.repository == 'sdr-enthusiasts/plane-alert-db' || ${{ vars.CREATE_DERIVATIVES }} | |
name: Update README.md documentation for Changes | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
python-version: "3.10" | |
cache: "pip" | |
- run: pip install -r ./scripts/requirements.txt | |
- name: Update README.md for changes in the database files | |
run: python ./scripts/update_readme.py | |
- name: Commit README.md | |
uses: stefanzweifel/[email protected] | |
with: | |
commit_message: "refactor: update README.md documentation." |