[bazel] port d30554b19edc27bc9ca3475b888c1b3e4eda87c4 #104605
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: PR Subscriber | |
| on: | |
| pull_request_target: | |
| types: | |
| - labeled | |
| permissions: | |
| contents: read | |
| jobs: | |
| auto-subscribe: | |
| runs-on: ubuntu-24.04 | |
| if: github.repository == 'llvm/llvm-project' | |
| steps: | |
| - name: Checkout Automation Script | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| sparse-checkout: llvm/utils/git/ | |
| ref: main | |
| - name: Setup Automation Script | |
| working-directory: ./llvm/utils/git/ | |
| run: | | |
| pip install --require-hashes -r requirements.txt | |
| - name: Update watchers | |
| working-directory: ./llvm/utils/git/ | |
| run: | | |
| python3 ./github-automation.py \ | |
| --token '${{ secrets.ISSUE_SUBSCRIBER_TOKEN }}' \ | |
| pr-subscriber \ | |
| --issue-number "${{ github.event.number }}" \ | |
| --label-name "${{ github.event.label.name }}" |