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

fix: [FX-2626] set up danger env variable for self-hosted runners #128

Merged
merged 5 commits into from
Feb 27, 2023

Conversation

dmaklygin
Copy link
Collaborator

@dmaklygin dmaklygin commented Feb 27, 2023

FX-2626

Description

Self-hosted runners may override GITHUB_URL variable, so requests may be performed incorectly.

This code explains how danger defined API URL: https://github.com/danger/danger-js/blob/main/source/platforms/github/GitHubAPI.ts#LL452C96-L452C118

How to test

  • Use branch version in an existing GH Workflow with defined self-hosted runners

Development checks

  • Add changeset according to guidelines (if needed)
PR commands

List of available commands:

  • @toptal-anvil ping reviewers - Ping FX team for review

@dmaklygin dmaklygin requested a review from a team February 27, 2023 08:59
@dmaklygin dmaklygin self-assigned this Feb 27, 2023
@changeset-bot
Copy link

changeset-bot bot commented Feb 27, 2023

🦋 Changeset detected

Latest commit: 6a7cb09

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
davinci-github-actions Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@dmaklygin
Copy link
Collaborator Author

@toptal-anvil ping reviewers

Copy link
Contributor

@OleksandrNechai OleksandrNechai left a comment

Choose a reason for hiding this comment

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

Code looks good, but the texting could be improved 👍

.changeset/update.md Outdated Show resolved Hide resolved
danger/action.yml Outdated Show resolved Hide resolved
@dmaklygin dmaklygin merged commit 83acd56 into master Feb 27, 2023
@dmaklygin dmaklygin deleted the fx-2626-fix-danger-for-self-hosted-runners branch February 27, 2023 11:59
@github-actions github-actions bot mentioned this pull request Feb 27, 2023
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.

4 participants