Preprocessing numbers with dollar signs are rejected when they are accepted in identifiers #110092
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: Issue Subscriber | |
| on: | |
| issues: | |
| 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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| 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/ | |
| # https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable | |
| env: | |
| LABEL_NAME: ${{ github.event.label.name }} | |
| run: | | |
| python3 ./github-automation.py \ | |
| --token '${{ secrets.ISSUE_SUBSCRIBER_TOKEN }}' \ | |
| issue-subscriber \ | |
| --issue-number '${{ github.event.issue.number }}' \ | |
| --label-name "$LABEL_NAME" |