• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1name: weekly
2
3on:
4  schedule:
5    # Mondays at 7:37am UTC = 12:27am PST
6    # Choose a random time near midnight PST because it may be delayed if there are high loads
7    # See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
8    - cron: 37 7 * * 1
9  workflow_dispatch:
10
11permissions: read-all
12
13jobs:
14  update-commit-hash:
15    runs-on: ubuntu-latest
16    environment: update-commit-hash
17    steps:
18      - name: Checkout repo
19        uses: actions/checkout@v3
20        with:
21          fetch-depth: 0
22      - name: update-xla-commit-hash
23        continue-on-error: true
24        uses: pytorch/test-infra/.github/actions/update-commit-hash@release/2.4
25        with:
26          repo-name: xla
27          branch: master
28          pin-folder: .github/ci_commit_pins
29          test-infra-ref: main
30          updatebot-token: ${{ secrets.UPDATEBOT_TOKEN }}
31          pytorchbot-token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}
32      - name: update-triton-commit-hash
33        uses: pytorch/test-infra/.github/actions/update-commit-hash@release/2.4
34        with:
35          repo-owner: openai
36          repo-name: triton
37          branch: main
38          pin-folder: .ci/docker/ci_commit_pins
39          test-infra-ref: main
40          updatebot-token: ${{ secrets.UPDATEBOT_TOKEN }}
41          pytorchbot-token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}
42