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

[DC-1265] Setup github action on java client repo #51

Merged
merged 4 commits into from
Jan 30, 2023

Conversation

kwadhwa18
Copy link
Member

@kwadhwa18 kwadhwa18 commented Jan 30, 2023

Run build and test on each commit and pull request on master

Successful run: https://github.com/rockset/rockset-java-client/actions/runs/4046897994/jobs/6960263220

@kwadhwa18 kwadhwa18 marked this pull request as draft January 30, 2023 17:26
@kwadhwa18 kwadhwa18 changed the title Create maven.yml [DC-1265] Setup github action on java client repo Jan 30, 2023
@kwadhwa18 kwadhwa18 marked this pull request as ready for review January 30, 2023 18:31
- name: Build with Maven
env:
ROCKSET_APIKEY: ${{ secrets.ROCKSET_APIKEY }}
ROCKSET_APISERVER: ${{ secrets.ROCKSET_APISERVER }}
Copy link
Member Author

Choose a reason for hiding this comment

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

not really a secret but just in case

cache: maven
- name: Build with Maven
env:
ROCKSET_APIKEY: ${{ secrets.ROCKSET_APIKEY }}
Copy link
Member Author

Choose a reason for hiding this comment

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

uses circle ci org - confirmed with Martin that we should use this for automated tests

Copy link
Contributor

@notnoop notnoop left a comment

Choose a reason for hiding this comment

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

LGTM. This is great!

I'm nervious about someone accessing secrets by forking repository and submitting a review. By default, a maintainer needs to approve workflow runs before a fork one can run, according to this. Can you double check this is the case?

@kwadhwa18
Copy link
Member Author

I'm nervious about someone accessing secrets by forking repository and submitting a review. By default, a maintainer needs to approve workflow runs before a fork one can run, according to this. Can you double check this is the case?

good idea, will check

@kwadhwa18
Copy link
Member Author

kwadhwa18 commented Jan 30, 2023

reviewed the permissions with Martin

@kwadhwa18 kwadhwa18 merged commit afdf17b into master Jan 30, 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.

2 participants