Fixes #53288
Reviewed By: mehdi_amini, asl, Quuxplusone
Differential Revision: https://reviews.llvm.org/D117745
pip install -r requirements.txt
- name: Update watchers
+ # 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: |
./github-automation.py \
- --token ${{ secrets.ISSUE_SUBSCRIBER_TOKEN }} \
+ --token '${{ secrets.ISSUE_SUBSCRIBER_TOKEN }}' \
issue-subscriber \
- --issue-number ${{ github.event.issue.number }} \
- --label-name ${{ github.event.label.name }}
+ --issue-number '${{ github.event.issue.number }}' \
+ --label-name "$LABEL_NAME"