eventespresso / actions

Centralized repository for all of Event Espresso's GitHub Actions used in our CI/CD pipelines
GNU Affero General Public License v3.0
2 stars 6 forks source link

Type mismatch on variable $labelIds and argument labelIds ([String]! / [ID!]!) #41

Closed tn3rb closed 2 years ago

tn3rb commented 2 years ago

see: https://github.com/eventespresso/barista/runs/5486694917?check_suite_focus=true

getting the following error from the above:

Run eventespresso/actions/packages/auto-pr-labeler@main
 organization eventespresso
 repository barista
 pull request # 1139
 pull request query results {
  repository: {
    pullRequest: {
      id: 'PR_kwDOB32LW[8](https://github.com/eventespresso/barista/runs/5486694917?check_suite_focus=true#step:2:8)40MXLZ',
      labels: [Object],
      number: 113[9](https://github.com/eventespresso/barista/runs/5486694917?check_suite_focus=true#step:2:9),
      reviewDecision: 'REVIEW_REQUIRED',
      state: 'OPEN',
      closingIssuesReferences: [Object],
      reviewRequests: [Object]
    }
  }
}
 pullRequest.state OPEN
 pullRequest.reviewDecision REVIEW_REQUIRED
 removeAllStatusLabels {
  labelableId: 'PR_kwDOB[32](https://github.com/eventespresso/barista/runs/5486694917?check_suite_focus=true#step:2:32)LW8[40](https://github.com/eventespresso/barista/runs/5486694917?check_suite_focus=true#step:2:40)MXLZ',
  labelIds: [
    'MDU6TGFiZWwyNDQ0NjI1MDU2',
    'MDU6TGFiZWwyMjExNDYwNjA5',
    'MDU6TGFiZWwyMzY3Mjc0Nzkw',
    'MDU6TGFiZWwyMjExODIxMTUx',
    'MDU6TGFiZWwyMTYxMzQzNTg5',
    'MDU6TGFiZWwyMjExNTA0MTAx',
    'MDU6TGFiZWwyNTQ4NjEyMDU3',
    'MDU6TGFiZWw5MDYyNjIwMTI=',
    'MDU6TGFiZWw4NzA2NjYyMTc=',
    'MDU6TGFiZWwyNDA1MzMwNjkw',
    'MDU6TGFiZWw4NzA2NjYyMTU=',
    'MDU6TGFiZWw4NzA2NjYyMjE='
  ]
}
Error: Request failed due to following response errors:
 - Type mismatch on variable $labelIds and argument labelIds ([String]! / [ID!]!)
 - Type mismatch on variable $labelableId and argument labelableId (String! / ID!)
 assignLabelsAfterReviewRequested {
  labelableId: 'PR_kwDOB32LW840MXLZ',
  labelIds: [ 'MDU6TGFiZWwyMTYxMzQzNTg5' ]
}
Error: Request failed due to following response errors:
 - Type mismatch on variable $labelIds and argument labelIds ([String]! / [ID!]!)
 - Type mismatch on variable $labelableId and argument labelableId (String! / ID!)
tn3rb commented 2 years ago

fixed with https://github.com/eventespresso/actions/commit/ed4ea5f7f5c929858468f11e0b41c3ecbc910170