Data updater every 30 minutes #8829
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: Data updater every 30 minutes | |
on: | |
schedule: | |
- cron: 30,0 * * * * | |
workflow_dispatch: | |
jobs: | |
update-files: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Update lists | |
run: ./updaters/update-30-minutes.sh | |
- name: Commit files if changed | |
run: ./commit.sh ${{ secrets.GITHUB_TOKEN }} "sources/" |