1name: Issue Subscriber 2 3on: 4 issues: 5 types: 6 - labeled 7 8jobs: 9 auto-subscribe: 10 runs-on: ubuntu-latest 11 if: github.repository == 'llvm/llvm-project' 12 steps: 13 - name: Setup Automation Script 14 run: | 15 curl -O -L https://raw.githubusercontent.com/$GITHUB_REPOSITORY/$GITHUB_SHA/llvm/utils/git/github-automation.py 16 chmod a+x github-automation.py 17 pip install PyGithub 18 19 - name: Update watchers 20 run: | 21 ./github-automation.py \ 22 --token ${{ secrets.ISSUE_SUBSCRIBER_TOKEN }} \ 23 issue-subscriber \ 24 --issue-number ${{ github.event.issue.number }} \ 25 --label-name ${{ github.event.label.name }} 26