13 runs-on: ubuntu-latest
14 if: github.repository == 'llvm/llvm-project'
16 - name: Setup Automation Script
18 curl -O -L https://raw.githubusercontent.com/$GITHUB_REPOSITORY/$GITHUB_SHA/llvm/utils/git/github-automation.py
19 curl -O -L https://raw.githubusercontent.com/$GITHUB_REPOSITORY/$GITHUB_SHA/llvm/utils/git/requirements.txt
20 chmod a+x github-automation.py
21 pip install -r requirements.txt
23 - name: Update watchers
24 # https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
26 LABEL_NAME: ${{ github.event.label.name }}
28 ./github-automation.py \
29 --token '${{ secrets.ISSUE_SUBSCRIBER_TOKEN }}' \
31 --issue-number '${{ github.event.issue.number }}' \
32 --label-name "$LABEL_NAME"