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

Add a cli flag for running as an integration #412

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DamianZaremba
Copy link

Currently there is no way to enable the integration flag which the
providers uses to filter out some actions.

It is possible to run the bot using an oauth app e.g. via github
actions, however it will fail due to having no access to endpoints such
as /user/emails.

With this PR supplying the --integration will enable restricted tokens
to function as expected.

Fixed #411

Currently there is no way to enable the `integration` flag which the
providers uses to filter out some actions.

It is possible to run the bot using an oauth app e.g. via github
actions, however it will fail due to having no access to endpoints such
as /user/emails.

With this PR supplying the `--integration` will enable restricted tokens
to function as expected.
@codecov
Copy link

codecov bot commented Jun 24, 2021

Codecov Report

Merging #412 (81181e5) into master (17c2384) will decrease coverage by 0.25%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #412      +/-   ##
==========================================
- Coverage   94.24%   93.98%   -0.26%     
==========================================
  Files          11       11              
  Lines        1164     1114      -50     
==========================================
- Hits         1097     1047      -50     
  Misses         67       67              
Impacted Files Coverage Δ
pyup/requirements.py 87.61% <0.00%> (-0.85%) ⬇️
pyup/pullrequest.py 96.77% <0.00%> (-0.45%) ⬇️
pyup/providers/gitlab.py 85.12% <0.00%> (-0.13%) ⬇️
pyup/bot.py 97.83% <0.00%> (-0.05%) ⬇️
pyup/config.py 98.92% <0.00%> (-0.02%) ⬇️
pyup/providers/github.py 99.39% <0.00%> (-0.01%) ⬇️
pyup/updates.py 100.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 17c2384...81181e5. Read the comment docs.

@DamianZaremba
Copy link
Author

Test failures will be fixed by #410

@luischapis
Copy link

Tenkiu

Copy link

@luischapis luischapis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Successfully merging this pull request may close these issues.

Support for running under GitHub apps
2 participants