Skip to content

Conversation

@folone
Copy link
Contributor

@folone folone commented Oct 27, 2022

Problem

We only want this action to run on the main repository. Right now it attempts to execute on all the forks as well – e.g. see failed actions on my fork: https://github.com/folone/graphql-java/actions.

Solution

This PR makes use of the syntax described in https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idif to skip GCP-based tests for all the forks and only run them on main repo.

@schenkman
Copy link
Contributor

Thank you!

@andimarek
Copy link
Member

thanks!

@andimarek andimarek merged commit be851d7 into graphql-java:master Oct 27, 2022
@folone folone deleted the gleontiev/only-run-gcp-workflow-on-main-repo branch October 27, 2022 17:23
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