Can not upload a room avatar if files have ')' or ' ' #450
This file contains 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
# Change the label name in the job if needed. | |
# If the label is already present, this job runs successfully and does nothing. | |
name: Label new issues | |
on: | |
issues: | |
types: | |
- opened | |
jobs: | |
label_issue: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/github-script@v5 | |
with: | |
script: | | |
github.rest.issues.addLabels({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
labels: ['web'] | |
}) |