Skip to content

Conversation

@motatoes
Copy link
Contributor

@motatoes motatoes commented Nov 22, 2023

We will be ignoring failing teams fetch for now since with token flow the only workaround is to place a bot token into the action. As a result the GH App driven flow is failing and only passes when you pass a bot token

This shouldn't be part of the onboarding for GH app, since the app does have access to fetch user teams
In the future the teams will be passed into the workflow from the backend to avoid this

For now we resort to a warning and passing an empty teams list into the policy if there is no access, while printing a warning.

In future changes we want to:

  • document for actions flow how to create a bot token for proper teams access
  • pass the teams list from the backend to the action so that the cli could check it accordingly

@motatoes motatoes merged commit d2eb083 into develop Nov 22, 2023
vdmkenny pushed a commit to vdmkenny/digger that referenced this pull request Feb 19, 2024
* report no changes if correctly

* fail gracefully if teams fetching fails

* fix syntax error

* fix error in github teams

Former-commit-id: d2eb083
ben-of-codecraft pushed a commit to ben-of-codecraft/digger that referenced this pull request May 21, 2024
* report no changes if correctly

* fail gracefully if teams fetching fails

* fix syntax error

* fix error in github teams

Former-commit-id: d2eb083
breardon2011 pushed a commit that referenced this pull request Sep 17, 2025
* report no changes if correctly

* fail gracefully if teams fetching fails

* fix syntax error

* fix error in github teams

Former-commit-id: d2eb083
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.

3 participants