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

Do not push docker image if repo is a fork #57

Merged
merged 4 commits into from
Mar 10, 2023
Merged

Conversation

jtherrmann
Copy link
Contributor

@jtherrmann jtherrmann commented Mar 10, 2023

See #47

This might work based on https://stackoverflow.com/a/70776678/8763290 but I'm still looking for the original documentation on the fork field.

Edit: See https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28#get-a-pull-request (the Response schema shows the fork field at the expected location).

@jtherrmann jtherrmann marked this pull request as ready for review March 10, 2023 20:21
@jtherrmann jtherrmann requested review from a team and jhkennedy March 10, 2023 20:21
@jtherrmann jtherrmann added bug Something isn't working patch Bump the patch version number of this project labels Mar 10, 2023
Copy link
Contributor

@jhkennedy jhkennedy left a comment

Choose a reason for hiding this comment

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

Looks good!

@jtherrmann jtherrmann merged commit eca406e into develop Mar 10, 2023
@jtherrmann jtherrmann deleted the docker-push-forks branch March 10, 2023 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working patch Bump the patch version number of this project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants