13 runs-on: ubuntu-latest
14 if: github.repository == 'llvm/llvm-project'
16 - name: Checkout Automation Script
17 uses: actions/checkout@v4
19 sparse-checkout: llvm/utils/git/
22 - name: Setup Automation Script
23 working-directory: ./llvm/utils/git/
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
31 LABEL_NAME: ${{ github.event.label.name }}
33 python3 ./github-automation.py \
34 --token '${{ secrets.ISSUE_SUBSCRIBER_TOKEN }}' \
36 --issue-number '${{ github.event.issue.number }}' \
37 --label-name "$LABEL_NAME"