danger / danger/swift

ERROR: Failed to parse JSON (issue/danger/github)

Open
#316 15 comments 1 reaction 0 assignees View on GitHub
Dominant language
Swift
Stars
1.1k
Forks
152
Avg merge
9h 54m
Merged PRs (30d)
2

Description

Hey

Trying to run danger-swift on Github's actions, but the following error:

```
ERROR: Failed to parse JSON: keyNotFound(CodingKeys(stringValue: "issue", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "danger", intValue: nil), CodingKeys(stringValue: "github", intValue: nil)], debugDescription: "No value associated with key CodingKeys(stringValue: \"issue\", intValue: nil) (\"issue\").", underlyingError: nil))

ERROR: Dangerfile eval failed at Dangerfile.swift

Danger: ⅹ Failing the build, there is 1 fail.
## Failures
danger-swift` failed.
```

Any help would be greatly appreciated.
Danger file is
```
import Danger

SwiftLint.lint()
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.