llvm-project/.github/workflows/commit-access-greeter.yml
Mend Renovate 196f6de75a
Update actions/checkout action to v6 (#169258)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/checkout](https://redirect.github.com/actions/checkout) |
action | major | `v5.0.0` -> `v6.0.0` |
2025-11-24 17:27:20 -08:00

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@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.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