xref: /llvm-project/.github/workflows/commit-access-review.yml (revision 84efc8ed463cd0ae90ecd02418442cb62b9a3ad2)
1name: Commit Access Review
2
3on:
4  workflow_dispatch:
5  schedule:
6    # * is a special character in YAML so you have to quote this string
7    - cron:  '0 7 1 * *'
8
9permissions:
10  contents: read
11
12jobs:
13  commit-access-review:
14    if: github.repository_owner == 'llvm'
15    runs-on: ubuntu-22.04
16    steps:
17      - name: Fetch LLVM sources
18        uses: actions/checkout@v4
19
20      - name: Install dependencies
21        run: |
22          pip install --require-hashes -r ./llvm/utils/git/requirements.txt
23
24      - name: Run Script
25        env:
26          GITHUB_TOKEN: ${{ secrets.RELEASE_TASKS_USER_TOKEN }}
27        run: |
28          python3 .github/workflows/commit-access-review.py $GITHUB_TOKEN
29
30      - name: Upload Triage List
31        uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 #v4.3.0
32        with:
33          name: triagers
34          path: triagers.log
35