forked from viaprotocol/tokenlists
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8df5b8a
commit 644b9e0
Showing
1 changed file
with
26 additions
and
26 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
name: Periodic Update | ||
on: | ||
schedule: | ||
# Run every second day at 1:00 UTC | ||
- cron: '0 1 */2 * *' | ||
workflow_dispatch: | ||
jobs: | ||
periodic-auto-update: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
# Give the default GITHUB_TOKEN write permission to commit and push the | ||
# added or changed files to the repository. | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v2 | ||
# name: Periodic Update | ||
# on: | ||
# schedule: | ||
# # Run every second day at 1:00 UTC | ||
# - cron: '0 1 */2 * *' | ||
# workflow_dispatch: | ||
# jobs: | ||
# periodic-auto-update: | ||
# runs-on: ubuntu-latest | ||
# permissions: | ||
# # Give the default GITHUB_TOKEN write permission to commit and push the | ||
# # added or changed files to the repository. | ||
# contents: write | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.11' | ||
cache: 'pip' | ||
- run: pip install -r requirements.txt | ||
# - uses: actions/setup-python@v2 | ||
# with: | ||
# python-version: '3.11' | ||
# cache: 'pip' | ||
# - run: pip install -r requirements.txt | ||
|
||
- name: Run script that collects tokens | ||
run: | | ||
python3 aggregate_tokens.py && python3 generate_readme.py | ||
# - name: Run script that collects tokens | ||
# run: | | ||
# python3 aggregate_tokens.py && python3 generate_readme.py | ||
|
||
- name: Commit changes | ||
if: success() | ||
uses: stefanzweifel/[email protected] | ||
# - name: Commit changes | ||
# if: success() | ||
# uses: stefanzweifel/[email protected] |