If you configure this workflow with insufficient permissions, e.g. the actions: read or checks: read missing, the action emits a warning but does not fail. Example
try {
checkSuite = await getCompletedCheckSuite(octokit, { node_id: e.workflow_run.check_suite_node_id })
} catch (error) {
core.warning(`Could not get the check suite: ${String(error)}`)
}
Is this intended? Should it be configurable with action inputs to make it fail instead of just warning?
If you configure this workflow with insufficient permissions, e.g. the
actions: readorchecks: readmissing, the action emits a warning but does not fail. ExampleIs this intended? Should it be configurable with action inputs to make it fail instead of just warning?