-
Notifications
You must be signed in to change notification settings - Fork 54
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
GitHub Actions #98
Comments
BTW I have scraped the values for the ENV variables for my own (currently abandoned) project but it might get handy for implementing GitHub Actions support: Some of the values required might be located inside the event's payload (see the JSON files) |
musketyr
added a commit
to musketyr/coveralls-gradle-plugin
that referenced
this issue
Dec 11, 2019
fixes kt3k#98 upgraded JGit as applying the plugin is breaking couple of other plugins
kt3k
pushed a commit
that referenced
this issue
Dec 11, 2019
fixes #98 upgraded JGit as applying the plugin is breaking couple of other plugins
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This plugin does not recognize if it is being run inside GitHub Actions and will therefore hit the following case:
coveralls-gradle-plugin/src/main/groovy/org/kt3k/gradle/plugin/coveralls/domain/ServiceInfoFactory.groovy
Lines 98 to 107 in 09a14ec
For a start, consider the following two docs:
For example, to check for GitHub Actions, you can use:
To get more information, especially about associated PRs, you will have to inspect the file pointed at by the envvar
GITHUB_EVENT_PATH
, like here: https://github.com/actions/toolkit/blob/99d3ad0a6473e7e7906681627a450150a772ee1d/packages/github/src/context.ts#L24-L29The text was updated successfully, but these errors were encountered: