Analyze wait times #17471
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: Analyze wait times | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: 0 0,11,12,13,14,15,16,17,18,19,20,21,23 * * * | |
jobs: | |
update-csv: | |
name: Parse and update CSV for wait times | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '15.x' | |
- run: npm install | |
- run: node index.js | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v5 | |
with: | |
author_name: Vivek Ranjan | |
author_email: [email protected] | |
message: "Latest wait times" | |
add: "wait-times.csv" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |