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

No PR Comment when there is PR from forked repo #7

Closed
ibakshay opened this issue Sep 27, 2019 · 7 comments
Closed

No PR Comment when there is PR from forked repo #7

ibakshay opened this issue Sep 27, 2019 · 7 comments

Comments

@ibakshay
Copy link
Contributor

Hi,

The Pull Request comment is not posted from Coveralls when there is a PR from the forked repository. Could you please look into the issue ?

Thanks in advance.

@IOrlandoni
Copy link

Same issue. Sample links:

Yet... no comment or check is posted to the pull request.

@IOrlandoni
Copy link

@nickmerwin Any chance you could check this issue? It seems to me like a must-have for open source projects where work is done on forks and pull-requested in.

@a-b-r-o-w-n
Copy link

@dunning-kruger @ibakshay This is likely due to the fact that the github token is read-only for forked pull requests. https://help.github.com/en/actions/automating-your-workflow-with-github-actions/authenticating-with-the-github_token#permissions-for-the-github_token

@IOrlandoni
Copy link

@a-b-r-o-w-n Attempting to work-around this by creating a specific token and passing that to the action... do you know which permissions does coveralls require?

@a-b-r-o-w-n
Copy link

Github will not share any user secrets for forked repos. ${{ secrets.GITHUB_TOKEN }} that is shared is a read-only token and cannot post PR comments. So there is no workaround as far as I know.

@bitsf
Copy link

bitsf commented Feb 11, 2020

I have the same problem, so this is the dead path right?
But why travis can post back comment?

@Can-Sahin
Copy link

So any open source projects using coveralls github actions cannot get their pull requests checked? Seems a big killer for me. Status check is stuck now

avtikhon added a commit to tarantool/tarantool that referenced this issue Mar 19, 2021
Workflow 'debug_coverage' produces and uploads results to 'coveralls.io'
web site. Message about it can be shown in PR within each run was done.
This patch adds the ability to send message in available PR otherwise it
is skipped. Also added 'coverage.info' file to artifacts list.

Found that used 'coverallsapp/github-action' action checks if the
trigger was 'pull_request' used to run the workflow. And only in this
way it writes results message to PR. Previously 'pull_request' trigger
was blocked to avoid duplication with 'push' trigger. To make able to
run workflow by any single trigger and to send message to PR if it
exits, it was implemented the following logic:

  - run workflows on both triggers 'push' and 'pull_request';
  - for workflow with 'push' trigger check if PR exists then skip all
    jobs otherwise continue running;
  - for workflow with 'pull_request' trigger continue running;

Also found that due to opened issue coverallsapp/github-action#7 this
action is not currently ready to post results to github PR. Added
workaround, local print of message to PR with link to 'coveralls.io'
with results of the current branch.

Closes #5644

[1]: https://github.com/coverallsapp/github-action/blob/master/src/run.ts#L38
avtikhon added a commit to tarantool/tarantool that referenced this issue Mar 19, 2021
Workflow 'debug_coverage' produces and uploads results to 'coveralls.io'
web site. Message about it can be shown in PR within each run was done.
This patch adds the ability to send message in available PR otherwise it
is skipped. Also added 'coverage.info' file to artifacts list.

Found that used 'coverallsapp/github-action' action checks if the
trigger was 'pull_request' used to run the workflow. And only in this
way it writes results message to PR. Previously 'pull_request' trigger
was blocked to avoid duplication with 'push' trigger. To make able to
run workflow by any single trigger and to send message to PR if it
exits, it was implemented the following logic:

  - run workflows on both triggers 'push' and 'pull_request';
  - for workflow with 'push' trigger check if PR exists then skip all
    jobs otherwise continue running;
  - for workflow with 'pull_request' trigger continue running;

Also found that due to opened issue coverallsapp/github-action#7 this
action is not currently ready to post results to github PR. Added
workaround, local print of message to PR with link to 'coveralls.io'
with results of the current branch.

Closes #5644

[1]: https://github.com/coverallsapp/github-action/blob/master/src/run.ts#L38
avtikhon added a commit to tarantool/tarantool that referenced this issue Mar 19, 2021
Workflow 'debug_coverage' produces and uploads results to 'coveralls.io'
web site. Message about it can be shown in PR within each run was done.
This patch adds the ability to send message in available PR otherwise it
is skipped. Also added 'coverage.info' file to artifacts list.

Found that used 'coverallsapp/github-action' action checks if the
trigger was 'pull_request' used to run the workflow. And only in this
way it writes results message to PR. Previously 'pull_request' trigger
was blocked to avoid duplication with 'push' trigger. To make able to
run workflow by any single trigger and to send message to PR if it
exits, it was implemented the following logic:

  - run workflows on both triggers 'push' and 'pull_request';
  - for workflow with 'push' trigger check if PR exists then skip all
    jobs otherwise continue running;
  - for workflow with 'pull_request' trigger continue running;

Also found that due to opened issue coverallsapp/github-action#7 this
action is not currently ready to post results to github PR. Added
workaround, local print of message to PR with link to 'coveralls.io'
with results of the current branch.

Closes #5644

[1]: https://github.com/coverallsapp/github-action/blob/master/src/run.ts#L38
avtikhon added a commit to tarantool/tarantool that referenced this issue Mar 19, 2021
Workflow 'debug_coverage' produces and uploads results to 'coveralls.io'
web site. Message about it can be shown in PR within each run was done.
This patch adds the ability to send message in available PR otherwise it
is skipped. Also added 'coverage.info' file to artifacts list.

Found that used 'coverallsapp/github-action' action checks if the
trigger was 'pull_request' used to run the workflow. And only in this
way it writes results message to PR. Previously 'pull_request' trigger
was blocked to avoid duplication with 'push' trigger. To make able to
run workflow by any single trigger and to send message to PR if it
exits, it was implemented the following logic:

  - run workflows on both triggers 'push' and 'pull_request';
  - for workflow with 'push' trigger check if PR exists then skip all
    jobs otherwise continue running;
  - for workflow with 'pull_request' trigger continue running;

Also found that due to opened issue coverallsapp/github-action#7 this
action is not currently ready to post results to github PR. Added
workaround, local print of message to PR with link to 'coveralls.io'
with results of the current branch.

Closes #5644

[1]: https://github.com/coverallsapp/github-action/blob/master/src/run.ts#L38
avtikhon added a commit to tarantool/tarantool that referenced this issue Mar 19, 2021
Workflow 'debug_coverage' produces and uploads results to 'coveralls.io'
web site. Message about it can be shown in PR within each run was done.
This patch adds the ability to send message in available PR otherwise it
is skipped. Also added 'coverage.info' file to artifacts list.

Found that used 'coverallsapp/github-action' action checks if the
trigger was 'pull_request' used to run the workflow. And only in this
way it writes results message to PR. Previously 'pull_request' trigger
was blocked to avoid duplication with 'push' trigger. To make able to
run workflow by any single trigger and to send message to PR if it
exits, it was implemented the following logic:

  - run workflows on both triggers 'push' and 'pull_request';
  - for workflow with 'push' trigger check if PR exists then skip all
    jobs otherwise continue running;
  - for workflow with 'pull_request' trigger continue running;

Also found that due to opened issue coverallsapp/github-action#7 this
action is not currently ready to post results to github PR. Added
workaround, local print of message to PR with link to 'coveralls.io'
with results of the current branch.

Closes #5644

[1]: https://github.com/coverallsapp/github-action/blob/master/src/run.ts#L38
avtikhon added a commit to tarantool/tarantool that referenced this issue Mar 19, 2021
Workflow 'debug_coverage' produces and uploads results to 'coveralls.io'
web site. Message about it can be shown in PR within each run was done.
This patch adds the ability to send message in available PR otherwise it
is skipped. Also added 'coverage.info' file to artifacts list.

Found that used 'coverallsapp/github-action' action checks if the
trigger was 'pull_request' used to run the workflow. And only in this
way it writes results message to PR. Previously 'pull_request' trigger
was blocked to avoid duplication with 'push' trigger. To make able to
run workflow by any single trigger and to send message to PR if it
exits, it was implemented the following logic:

  - run workflows on both triggers 'push' and 'pull_request';
  - for workflow with 'push' trigger check if PR exists then skip all
    jobs otherwise continue running;
  - for workflow with 'pull_request' trigger continue running;

Also found that due to opened issue coverallsapp/github-action#7 this
action is not currently ready to post results to github PR. Added
workaround, local print of message to PR with link to 'coveralls.io'
with results of the current branch.

Closes #5644

[1]: https://github.com/coverallsapp/github-action/blob/master/src/run.ts#L38
avtikhon added a commit to tarantool/tarantool that referenced this issue Mar 21, 2021
Workflow 'debug_coverage' produces and uploads results to 'coveralls.io'
web site. Message about it can be shown in PR within each run was done.
This patch adds the ability to send message in available PR otherwise it
is skipped. Also added 'coverage.info' file to artifacts list.

Found that used 'coverallsapp/github-action' action checks if the
trigger was 'pull_request' used to run the workflow. And only in this
way it writes results message to PR. Previously 'pull_request' trigger
was blocked to avoid duplication with 'push' trigger. To make able to
run workflow by any single trigger and to send message to PR if it
exits, it was implemented the following logic:

  - run workflows on both triggers 'push' and 'pull_request';
  - for workflow with 'push' trigger check if PR exists then skip all
    jobs otherwise continue running;
  - for workflow with 'pull_request' trigger continue running;

Also found that due to opened issue coverallsapp/github-action#7 this
action is not currently ready to post results to github PR. Added
workaround, local print of message to PR with link to 'coveralls.io'
with results of the current branch.

Closes #5644

[1]: https://github.com/coverallsapp/github-action/blob/master/src/run.ts#L38
avtikhon added a commit to tarantool/tarantool that referenced this issue Mar 21, 2021
Workflow 'debug_coverage' produces and uploads results to 'coveralls.io'
web site. Message about it can be shown in PR within each run was done.
This patch adds the ability to send message in available PR otherwise it
is skipped. Also added 'coverage.info' file to artifacts list.

Found that used 'coverallsapp/github-action' action checks if the
trigger was 'pull_request' used to run the workflow. And only in this
way it writes results message to PR. Previously 'pull_request' trigger
was blocked to avoid duplication with 'push' trigger. To make able to
run workflow by any single trigger and to send message to PR if it
exits, it was implemented the following logic:

  - run workflows on both triggers 'push' and 'pull_request';
  - for workflow with 'push' trigger check if PR exists then skip all
    jobs otherwise continue running;
  - for workflow with 'pull_request' trigger continue running;

Also found that due to opened issue coverallsapp/github-action#7 this
action is not currently ready to post results to github PR. Added
workaround, local print of message to PR with link to 'coveralls.io'
with results of the current branch.

Closes #5644

[1]: https://github.com/coverallsapp/github-action/blob/master/src/run.ts#L38
avtikhon added a commit to tarantool/tarantool that referenced this issue Mar 21, 2021
Workflow 'debug_coverage' produces and uploads results to 'coveralls.io'
web site. Message about it can be shown in PR within each run was done.
This patch adds the ability to send message in available PR otherwise it
is skipped. Also added 'coverage.info' file to artifacts list.

Found that used 'coverallsapp/github-action' action checks if the
trigger was 'pull_request' used to run the workflow. And only in this
way it writes results message to PR. Previously 'pull_request' trigger
was blocked to avoid duplication with 'push' trigger. To make able to
run workflow by any single trigger and to send message to PR if it
exits, it was implemented the following logic:

  - run workflows on both triggers 'push' and 'pull_request';
  - for workflow with 'push' trigger check if PR exists then skip all
    jobs otherwise continue running;
  - for workflow with 'pull_request' trigger continue running;

Also found that due to opened issue coverallsapp/github-action#7 this
action is not currently ready to post results to github PR. Added
workaround, local print of message to PR with link to 'coveralls.io'
with results of the current branch.

Closes #5644

[1]: https://github.com/coverallsapp/github-action/blob/master/src/run.ts#L38

t
avtikhon added a commit to tarantool/tarantool that referenced this issue Mar 22, 2021
Workflow 'debug_coverage' produces and uploads results to 'coveralls.io'
web site. Message about it can be shown in PR within each run was done.
This patch adds the ability to send message in available PR otherwise it
is skipped. Also added 'coverage.info' file to artifacts list.

Found that used 'coverallsapp/github-action' action checks if the
trigger was 'pull_request' used to run the workflow. And only in this
way it writes results message to PR. Previously 'pull_request' trigger
was blocked to avoid duplication with 'push' trigger. To make able to
run workflow by any single trigger and to send message to PR if it
exits, it was implemented the following logic:

  - run workflows on both triggers 'push' and 'pull_request';
  - for workflow with 'push' trigger check if PR exists then skip all
    jobs otherwise continue running;
  - for workflow with 'pull_request' trigger continue running;

Also found that due to opened issue coverallsapp/github-action#7 this
action is not currently ready to post results to github PR. Added
workaround, local print of message to PR with link to 'coveralls.io'
with results of the current branch.

Closes #5644

[1]: https://github.com/coverallsapp/github-action/blob/master/src/run.ts#L38
avtikhon added a commit to tarantool/tarantool that referenced this issue Mar 22, 2021
Workflow 'debug_coverage' produces and uploads results to 'coveralls.io'
web site. Message about it can be shown in PR within each run was done.
This patch adds the ability to send message in available PR otherwise it
is skipped. Also added 'coverage.info' file to artifacts list.

Found that used 'coverallsapp/github-action' action checks if the
trigger was 'pull_request' used to run the workflow. And only in this
way it writes results message to PR. Previously 'pull_request' trigger
was blocked to avoid duplication with 'push' trigger. To make able to
run workflow by any single trigger and to send message to PR if it
exits, it was implemented the following logic:

  - run workflows on both triggers 'push' and 'pull_request';
  - for workflow with 'push' trigger check if PR exists then skip all
    jobs otherwise continue running;
  - for workflow with 'pull_request' trigger continue running;

Also found that due to opened issue coverallsapp/github-action#7 this
action is not currently ready to post results to github PR. Added
workaround, local print of message to PR with link to 'coveralls.io'
with results of the current branch.

Closes #5644

[1]: https://github.com/coverallsapp/github-action/blob/master/src/run.ts#L38
avtikhon added a commit to tarantool/tarantool that referenced this issue Mar 22, 2021
Workflow 'debug_coverage' produces and uploads results to 'coveralls.io'
web site. Message about it can be shown in PR within each run was done.
This patch adds the ability to send message in available PR otherwise it
is skipped. Also added 'coverage.info' file to artifacts list.

Found that used 'coverallsapp/github-action' action checks if the
trigger was 'pull_request' used to run the workflow. And only in this
way it writes results message to PR. Previously 'pull_request' trigger
was blocked to avoid duplication with 'push' trigger. To make able to
run workflow by any single trigger and to send message to PR if it
exits, it was implemented the following logic:

  - run workflows on both triggers 'push' and 'pull_request';
  - for workflow with 'push' trigger check if PR exists then skip all
    jobs otherwise continue running;
  - for workflow with 'pull_request' trigger continue running;

Also found that due to opened issue coverallsapp/github-action#7 this
action is not currently ready to post results to github PR. Added
workaround, local print of message to PR with link to 'coveralls.io'
with results of the current branch.

Closes #5644

[1]: https://github.com/coverallsapp/github-action/blob/master/src/run.ts#L38
avtikhon added a commit to tarantool/tarantool that referenced this issue Mar 22, 2021
Workflow 'debug_coverage' produces and uploads results to 'coveralls.io'
web site. Message about it can be shown in PR within each run was done.
This patch adds the ability to send message in available PR otherwise it
is skipped. Also added 'coverage.info' file to artifacts list.

Found that used 'coverallsapp/github-action' action checks if the
trigger was 'pull_request' used to run the workflow. And only in this
way it writes results message to PR. Previously 'pull_request' trigger
was blocked to avoid duplication with 'push' trigger. To make able to
run workflow by any single trigger and to send message to PR if it
exits, it was implemented the following logic:

  - run workflows on both triggers 'push' and 'pull_request';
  - for workflow with 'push' trigger check if PR exists then skip all
    jobs otherwise continue running;
  - for workflow with 'pull_request' trigger continue running;

Also found that due to opened issue coverallsapp/github-action#7 this
action is not currently ready to post results to github PR. Added
workaround, local print of message to PR with link to 'coveralls.io'
with results of the current branch.

Closes #5644

[1]: https://github.com/coverallsapp/github-action/blob/master/src/run.ts#L38
avtikhon added a commit to tarantool/tarantool that referenced this issue Mar 22, 2021
Workflow 'debug_coverage' produces and uploads results to 'coveralls.io'
web site. Message about it can be shown in PR within each run was done.
This patch adds the ability to send message in available PR otherwise it
is skipped. Also added 'coverage.info' file to artifacts list.

Found that used 'coverallsapp/github-action' action checks if the
trigger was 'pull_request' used to run the workflow. And only in this
way it writes results message to PR. Previously 'pull_request' trigger
was blocked to avoid duplication with 'push' trigger. To make able to
run workflow by any single trigger and to send message to PR if it
exits, it was implemented the following logic:

  - run workflows on both triggers 'push' and 'pull_request';
  - for workflow with 'push' trigger check if PR exists then skip all
    jobs otherwise continue running;
  - for workflow with 'pull_request' trigger continue running;

Also found that due to opened issue coverallsapp/github-action#7 this
action is not currently ready to post results to github PR. Added
workaround, local print of message to PR with link to 'coveralls.io'
with results of the current branch.

To avoid of issue coverallsapp/github-action#55 [2], sources checkout
should be based on 2nd version and later, to support it newer docker
image is used tarantool/testing:debian-buster.

Closes #5644

[1]: https://github.com/coverallsapp/github-action/blob/master/src/run.ts#L38
[2]: coverallsapp/github-action#55 (comment)
avtikhon added a commit to tarantool/tarantool that referenced this issue Mar 22, 2021
Workflow 'debug_coverage' produces and uploads results to 'coveralls.io'
web site. Message about it can be shown in PR within each run was done.
This patch adds the ability to send message in available PR otherwise it
is skipped. Also added 'coverage.info' file to artifacts list.

Found that used 'coverallsapp/github-action' action checks if the
trigger was 'pull_request' used to run the workflow. And only in this
way it writes results message to PR. Previously 'pull_request' trigger
was blocked to avoid duplication with 'push' trigger. To make able to
run workflow by any single trigger and to send message to PR if it
exits, it was implemented the following logic:

  - run workflows on both triggers 'push' and 'pull_request';
  - for workflow with 'push' trigger check if PR exists then skip all
    jobs otherwise continue running;
  - for workflow with 'pull_request' trigger continue running;

Also found that due to opened issue coverallsapp/github-action#7 this
action is not currently ready to post results to github PR. Added
workaround, local print of message to PR with link to 'coveralls.io'
with results of the current branch.

To avoid of issue coverallsapp/github-action#55 [2], sources checkout
should be based on 2nd version and later, to support it newer docker
image is used tarantool/testing:debian-buster.

Closes #5644

[1]: https://github.com/coverallsapp/github-action/blob/master/src/run.ts#L38
[2]: coverallsapp/github-action#55 (comment)
avtikhon added a commit to tarantool/tarantool that referenced this issue May 13, 2021
Workflow 'debug_coverage' produces and uploads results to 'coveralls.io'
web site. Message about it can be shown in PR within each run was done.
This patch adds the ability to send message in available PR otherwise it
is skipped. Also added 'coverage.info' file to artifacts list.

Found that used 'coverallsapp/github-action' action checks if the
trigger was 'pull_request' used to run the workflow. And only in this
way it writes results message to PR. Previously 'pull_request' trigger
was blocked to avoid duplication with 'push' trigger. To make able to
run workflow by any single trigger and to send message to PR if it
exits, it was implemented the following logic:

  - run workflows on both triggers 'push' and 'pull_request';
  - for workflow with 'push' trigger check if PR exists then skip all
    jobs otherwise continue running;
  - for workflow with 'pull_request' trigger continue running;

Also found that due to opened issue coverallsapp/github-action#7 this
action is not currently ready to post results to github PR. Added
workaround, local print of message to PR with link to 'coveralls.io'
with results of the current branch.

To avoid of issue coverallsapp/github-action#55 [2], sources checkout
should be based on 2nd version and later, to support it newer docker
image is used tarantool/testing:debian-buster.

Closes #5644

[1]: https://github.com/coverallsapp/github-action/blob/master/src/run.ts#L38
[2]: coverallsapp/github-action#55 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants