Skip to content

Receiving the message - "ERROR: Operation requires API v3.1, which is not available from this host", when using gazer command for migration #31

Receiving the message - "ERROR: Operation requires API v3.1, which is not available from this host", when using gazer command for migration

Receiving the message - "ERROR: Operation requires API v3.1, which is not available from this host", when using gazer command for migration #31

name: Label all new/reopened issues with P3
on:
issues:
types:
- reopened
- opened
jobs:
label_issues_p3:
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: ["p3"]
})