This patch haspins all actions in most of the LLVM Github workflows. This is something we try to do, but no one has gone through and combed through all of the workflows before this patch. Notably, this patch does not bump any major versions of actions just in case there are subtle breaking changes introduced between versions that could impact us. Also, this patch omits the libc/libc++ workflows so that they can be split into separate PRs for the respective subproject maintainers to review.
35 lines
937 B
YAML
35 lines
937 B
YAML
name: Commit Access Review
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
# * is a special character in YAML so you have to quote this string
|
|
- cron: '0 7 1 * *'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
commit-access-review:
|
|
if: github.repository_owner == 'llvm'
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Fetch LLVM sources
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install --require-hashes -r ./llvm/utils/git/requirements.txt
|
|
|
|
- name: Run Script
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.RELEASE_TASKS_USER_TOKEN }}
|
|
run: |
|
|
python3 .github/workflows/commit-access-review.py $GITHUB_TOKEN
|
|
|
|
- name: Upload Triage List
|
|
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 #v4.3.0
|
|
with:
|
|
name: triagers
|
|
path: triagers.log
|