mirror of
https://github.com/intel/llvm.git
synced 2026-01-27 06:06:34 +08:00
https://github.com/actions/checkout/releases/tag/v5.0.0 was released a couple of days ago (still new, sufficient bake time that there probably is not a significant security issue). There are few changes, with the most notable ones being dependency bumps, specifically the node version bump to v24. This requires actions runner v2.327.1. I will land this after all of the infrastructure has been moved over to the new runner version.
41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
name: Commit Access Greeter
|
|
|
|
on:
|
|
issues:
|
|
types:
|
|
- labeled
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
commit-access-greeter:
|
|
permissions:
|
|
issues: write
|
|
pull-requests: read
|
|
if: >-
|
|
github.repository_owner == 'llvm' &&
|
|
github.event.label.name == 'infra:commit-access-request'
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
with:
|
|
sparse-checkout: llvm/utils/git/
|
|
|
|
- name: Setup Automation Script
|
|
working-directory: ./llvm/utils/git/
|
|
run: |
|
|
pip install --require-hashes -r requirements.txt
|
|
|
|
- name: Add comments to issue
|
|
working-directory: ./llvm/utils/git/
|
|
env:
|
|
LABEL_NAME: ${{ github.event.label.name }}
|
|
GITHUB_TOKEN: ${{ github.token }}
|
|
ISSUE_NUMBER: ${{ github.event.issue.number }}
|
|
run: |
|
|
python3 ./github-automation.py \
|
|
--token $GITHUB_TOKEN \
|
|
commit-request-greeter \
|
|
--issue-number $ISSUE_NUMBER
|