New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some API access fails when using secrets.GITHUB_TOKEN
.
#466
Comments
Hey!
? Becuase that should avoid the call to https://api.github.com/user |
Actually now danger-js has this code so shouldn't try to get the user if there is |
This is an another PR on this repo. As you know, Dangerfile.swift in here doesn't call I think this is a mystery🤔. |
May it be that given it is from a fork it doesn't get the env variables? |
I opened #468 to try see if it has the same issue or not |
In that PR I've seen the error only on Linux, then I've opened #469, and I saw that even if it had that issue, it posted on the PR anyway |
I am also seeing this error. I'm running the GitHub Action, and it's not running from a fork. I get issue comments and status checks fine, but I do not get inline fails. The weirdest thing about it is that I could have sworn that I did get some inlined fails, but now it isn't working. Here is my workflow file: name: danger
# Controls when the action will run. This action runs Danger, so run on PRs only
on: pull_request
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test:
name: Run Danger
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: danger/swift@3.12.3
with:
args: --use-github-checks --verbose
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} and here is the output:
|
@f-meloni I have run into this issue as well. Here's my workflow file below
Here's the output
|
The text was updated successfully, but these errors were encountered: