👷🏻♀️ Run Danger on GitHub Action
The Travis build is always blowing up with a "Bad credentials" error.
GET https://api.github.com/repos/OAuthSwift/OAuthSwift/pulls/659: 401 - Bad credentials // See: https://docs.github.com/rest (Octokit::Unauthorized)
Not sure how well this is going to work in a GitHub Action workflow, but with the automatic availability of the GITHUB_TOKEN for an action, it sure seems simpler to manage.
The success from the new Danger check is misleading as there was an error running swiftlint.
From https://github.com/OAuthSwift/OAuthSwift
- [new branch] ci/action/danger -> origin/ci/action/danger /home/runner/work/OAuthSwift/OAuthSwift/vendor/bundle/ruby/2.6.0/gems/danger-swiftlint-0.26.0/ext/swiftlint/bin/swiftlint: 1: Syntax error: "(" unexpected
I didn't realize this was also going to run swiftlint, so will need to switch to a macOS runner.
Does danger still need to run SwiftLint, given that it already runs in its own action?
I have never configured it, but I see danger SwiftLint, I have already launch SwiftLint on linux , I see some docker and GitHub action about it