Skip to content

mvdan.cc/sh/v3 v3.9.0 breaks reading from file redirection #269

mvdan.cc/sh/v3 v3.9.0 breaks reading from file redirection

mvdan.cc/sh/v3 v3.9.0 breaks reading from file redirection #269

Workflow file for this run

name: issue closed
on:
issues:
types: [closed]
jobs:
issue-closed:
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.find(label => label.name === 'state: needs triage')) {
github.rest.issues.removeLabel({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
name: 'state: needs triage'
})
}