Update trustlist-IT.yml #4010
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: Renew Trustlist AT | |
on: | |
# schedule: | |
# - cron: '0 5,10,15,20 * * *' | |
push: | |
branches: ['main'] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./scripts/trustlist_at/ | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- name: prepare node | |
run: npm install | |
- name: get trustlist AT | |
run: node download_trustlist_at.js | |
- uses: EndBug/add-and-commit@v7 | |
with: | |
author_name: github action download trustlist | |
message: 'Update Trustlist AT' | |
add: '*.json' |