forked from OSchip/llvm-project
issue-subscriber: Fix handling of labels with spaces
Fixes #53288 Reviewed By: mehdi_amini, asl, Quuxplusone Differential Revision: https://reviews.llvm.org/D117745
This commit is contained in:
parent
8b734798a5
commit
90faaf811f
|
@ -18,9 +18,12 @@ jobs:
|
|||
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"
|
||||
|
|
Loading…
Reference in New Issue