Skip to content
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

chore: CI workflow to only upload report if CODACY_PROJECT_TOKEN is set #193

Merged
merged 2 commits into from
May 28, 2020

Conversation

lance
Copy link
Member

@lance lance commented May 28, 2020

GitHub will not set secrets in the environment when a pull request is submitted
from a forked repository. This commit modifies the CI workflow to only send
the report when the API token has been set. It also consolidates the two
workflows into a single one which shares coverage data between jobs.

Fixes: #190

Signed-off-by: Lance Ball lball@redhat.com

GitHub will not set secrets in the environment when a pull request is submitted
from a forked repository. This commit modifies the CI workflow to only send
the report when the API token has been set. It also consolidates the two
workflows into a single one which shares coverage data between jobs.

Fixes: cloudevents#190

Signed-off-by: Lance Ball <lball@redhat.com>
@lance lance added the chore/ci Changes to CI or the build label May 28, 2020
@lance lance requested a review from a team May 28, 2020 14:03
@lance lance self-assigned this May 28, 2020
@lance lance requested review from danbev, grant and helio-frota and removed request for a team May 28, 2020 14:03
Signed-off-by: Lance Ball <lball@redhat.com>
@lance lance merged commit aa320e7 into cloudevents:master May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore/ci Changes to CI or the build
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Turn off code coverage results publishing for pull requests
2 participants