Congressional Floor Actions #15796
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: "Congressional Floor Actions" | |
# author: "MettaCode Developers" | |
# description: "Retrieve latest floor actions from US Congress and create JSON file" | |
on: | |
push: | |
branches: | |
- main | |
schedule: | |
# * is a special character in YAML so you have to quote this string | |
- cron: "*/15 13-21 * * 1-5" | |
permissions: | |
contents: write | |
jobs: | |
save_json_file: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: node --version | |
- run: npm install axios | |
- run: npm install cheerio | |
- name: run-javascript | |
run: npm run data | |
- name: commit-floor-actions-json | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Floor Actions JSON Updated |