Update queue times dataset #115813
This file contains hidden or 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: Update queue times dataset | |
| on: | |
| schedule: | |
| # Run every 15 minutes | |
| - cron: "*/15 * * * *" | |
| workflow_dispatch: | |
| defaults: | |
| run: | |
| working-directory: torchci | |
| jobs: | |
| update-queue-times: | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| id-token: write | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - run: yarn install --frozen-lockfile | |
| - name: configure aws credentials | |
| id: aws_creds | |
| uses: aws-actions/configure-aws-credentials@50ac8dd1e1b10d09dac7b8727528b91bed831ac0 # v3.0.2 | |
| with: | |
| role-to-assume: arn:aws:iam::308535385114:role/gha_workflow_update_queue_times | |
| aws-region: us-east-1 | |
| - run: yarn node scripts/updateQueueTimes.mjs | |
| env: | |
| HUD_API_TOKEN: ${{ secrets.HUD_API_TOKEN }} |