[RISCV][GISel] Move G_BRJT expansion to legalization (#73711)
[llvm-project.git] / .github / workflows / issue-subscriber.yml
blobef4fdf44181938dea5d002cd0a63c64120eb7270
1 name: Issue Subscriber
3 on:
4   issues:
5     types:
6       - labeled
8 permissions:
9   contents: read
11 jobs:
12   auto-subscribe:
13     runs-on: ubuntu-latest
14     if: github.repository == 'llvm/llvm-project'
15     steps:
16       - name: Checkout Automation Script
17         uses: actions/checkout@v4
18         with:
19           sparse-checkout: llvm/utils/git/
20           ref: main
22       - name: Setup Automation Script
23         working-directory: ./llvm/utils/git/
24         run: |
25           pip install --require-hashes -r requirements.txt
27       - name: Update watchers
28         working-directory: ./llvm/utils/git/
29         # https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
30         env:
31           LABEL_NAME: ${{ github.event.label.name }}
32         run: |
33           python3 ./github-automation.py \
34             --token '${{ secrets.ISSUE_SUBSCRIBER_TOKEN }}' \
35             issue-subscriber \
36             --issue-number '${{ github.event.issue.number }}' \
37             --label-name "$LABEL_NAME"