Brace expansion broken in v3.44.1 due to over-escaping of curly braces #642
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 needs triage | |
| on: | |
| issues: | |
| types: [opened] | |
| jobs: | |
| issue-needs-triage: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/github-script@v7 | |
| with: | |
| github-token: ${{secrets.GH_PAT}} | |
| script: | | |
| const labels = await github.paginate( | |
| github.rest.issues.listLabelsOnIssue, { | |
| issue_number: context.issue.number, | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| } | |
| ) | |
| if (labels.length === 0) { | |
| github.rest.issues.addLabels({ | |
| issue_number: context.issue.number, | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| labels: ['state: needs triage'] | |
| }) | |
| } |