mirror of
https://github.com/intel/llvm.git
synced 2026-01-13 11:02:04 +08:00
This PR contains the following updates: | Package | Type | Update | Change | Pending | |---|---|---|---|---| | [actions/checkout](https://redirect.github.com/actions/checkout) | action | patch | `v6.0.0` -> `v6.0.1` | | | [actions/setup-node](https://redirect.github.com/actions/setup-node) | action | minor | `v6.0.0` -> `v6.1.0` | | | [github/codeql-action](https://redirect.github.com/github/codeql-action) | action | patch | `v4.31.5` -> `v4.31.6` | `v4.31.7` |
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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
|
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
|