You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cloudforet maintainers sometimes develop github actions workflow for building projects.
Usually, they write workflows and verify in the cloudforet github or the test organization they own.
But, it takes a lot of effort to verify workflows.
Suggestion
Use act to write and verify github actions workflow!
Run your GitHub Actions locally! Why would you want to do this? Two reasons:
Fast Feedback - Rather than having to commit/push every time you want to test out the changes you are making to your .github/workflows/ files (or for any changes to embedded GitHub actions), you can use act to run the actions locally. The environment variables and filesystem are all configured to match what GitHub provides.
Local Task Runner - I love make. However, I also hate repeating myself. With act, you can use the GitHub Actions defined in your .github/workflows/ to replace your Makefile!
It is super simple to install and run, also provide various options (like dry-run)
Consideration
But, You should consider the following.
To use a secret context locally, you need to set up an env file.
Act doesn't seem to support variable contexts yet.
Because maintainers must have env files for all secrets. It may lead to a security incident.
The text was updated successfully, but these errors were encountered:
AS-IS
Cloudforet maintainers sometimes develop github actions workflow for building projects.
Usually, they write workflows and verify in the cloudforet github or the test organization they own.
But, it takes a lot of effort to verify workflows.
Suggestion
Use act to write and verify github actions workflow!
It is super simple to install and run, also provide various options (like dry-run)
Consideration
But, You should consider the following.
The text was updated successfully, but these errors were encountered: