Native New Yorker. Food activist. Professional tourist. Citizen of the world. Political Atheist. Free Culture advocate. Helps business tell their story on the web. Fighting the digital censorship.
This is my first attempt to make a Github Action but have some questions about Github actions for local development and testing.
Can Github actions be created in a dev branch on a local repo on my PC and then uploaded to Github.com website?
Can the Github actions be tested on a dev branch on the Github.com website?
Finally can the Github actions in dev be merged into the master branch or is it best to create Action files on master branch using Github c.com website and avoid using dev branches and eventually merging with master?
Yes, you can create actions locally and then upload them to GitHub.com
Yes, you can test them on a dev branch on GitHub.com
You can treat GitHub Actions the same way you would treat your code. Feel free to add it to a dev branch and then merge it to your default branch afterwards.
Hello from New York City,
This is my first attempt to make a Github Action but have some questions about Github actions for local development and testing.
Can Github actions be created in a dev branch on a local repo on my PC and then uploaded to Github.com website?
Can the Github actions be tested on a dev branch on the Github.com website?
Finally can the Github actions in dev be merged into the master branch or is it best to create Action files on master branch using Github c.com website and avoid using dev branches and eventually merging with master?
Thank you.
Hi Anthony!!! Happy to answer these questions.
Here's a reference on how to build your first workflow: dev.to/github/github-actions-build...