llvm-project
34 строки · 868.0 Байт
1name: PR Subscriber
2
3on:
4pull_request_target:
5types:
6- labeled
7
8permissions:
9contents: read
10
11jobs:
12auto-subscribe:
13runs-on: ubuntu-latest
14if: github.repository == 'llvm/llvm-project'
15steps:
16- name: Checkout Automation Script
17uses: actions/checkout@v4
18with:
19sparse-checkout: llvm/utils/git/
20ref: main
21
22- name: Setup Automation Script
23working-directory: ./llvm/utils/git/
24run: |
25pip install --require-hashes -r requirements.txt
26
27- name: Update watchers
28working-directory: ./llvm/utils/git/
29run: |
30python3 ./github-automation.py \
31--token '${{ secrets.ISSUE_SUBSCRIBER_TOKEN }}' \
32pr-subscriber \
33--issue-number "${{ github.event.number }}" \
34--label-name "${{ github.event.label.name }}"
35