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

Use upstream pkl-gha for GitHub Action Workflows #3677

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

StefMa
Copy link

@StefMa StefMa commented Oct 21, 2024

Description

Hello Realm .NET Team 👋

It’s great to see that you’re considering using Pkl, especially pkl-gha, to configure your CI 🙂.
I’ve incorporated all of your additions into the upstream project, so your customizations are no longer necessary.
This means there’s no longer any maintenance overhead required on your end.

I’ve split the PR into three commits:

  1. Adopts the upstream project.
  2. Removes your custom Pkl project.
  3. Translates the Pkl workflows into YAML workflows.

Each of these commits can be reviewed individually.

Please note that I haven’t changed any of your logic.
I’ve only replaced your implementation with the upstream project.

I hope you find this useful!
Let me know if anything is missing or if there are any improvements I can make to pkl-gha.
Looking forward to your review and feedback 🤝.

cc @nirinchev because you added pkl at the first place here #3603 🙂

Copy link

cla-bot bot commented Oct 21, 2024

Realm welcomes all contributions! The only requirement we have is that, like many other projects, we need to have a Contributor License Agreement (CLA) in place before we can accept any external code. Our own CLA is a modified version of the Apache Software Foundation’s CLA. Our records show that CLA has not been signed by @StefMa. Please submit your CLA electronically using our Google form so we can accept your submissions. After signing the CLA you can recheck this PR with a @cla-bot check comment. The GitHub usernames you file there will need to match that of your Pull Requests. If you have any questions or cannot file the CLA electronically, make a comment here and we will be happy to help you out.

pkl eval pkl-workflows/*.pkl -o workflows/%{moduleName}.yml
Copy link
Author

Choose a reason for hiding this comment

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

I don't know if this is correct.
Please check this if this still works.
I'm not a Windows user...

@nirinchev
Copy link
Member

Hey @StefMa thanks so much for this - great stuff. I was going to eventually try and submit a PR upstream for those changes, but priority reshuffles within the company meant I don't have that much time working on this project anymore. I'll try and review this over the weekend and get it in.

@StefMa
Copy link
Author

StefMa commented Oct 22, 2024

@cla-bot check

@cla-bot cla-bot bot added the cla: yes label Oct 22, 2024
Copy link

cla-bot bot commented Oct 22, 2024

The cla-bot has been summoned, and re-checked this pull request!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants