System.IO.IOException: An attempt was made to move the position before the beginning of the stream. #32
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
# https://docs.github.com/en/actions/managing-issues-and-pull-requests/adding-labels-to-issues | |
name: Label issues | |
on: | |
issues: | |
types: | |
- reopened | |
- opened | |
jobs: | |
label_issues: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
steps: | |
- uses: actions/github-script@v7 | |
with: | |
script: | | |
github.rest.issues.addLabels({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
labels: ["triage"] | |
}) | |