Replies: 21 comments 16 replies
This comment was marked as disruptive content.
This comment was marked as disruptive content.
This comment was marked as disruptive content.
This comment was marked as disruptive content.
This comment was marked as disruptive content.
This comment was marked as disruptive content.
This comment was marked as disruptive content.
This comment was marked as disruptive content.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
One of the best platform |
Beta Was this translation helpful? Give feedback.
0 replies
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as disruptive content.
This comment was marked as disruptive content.
This comment was marked as disruptive content.
This comment was marked as disruptive content.
-
Greeting! |
Beta Was this translation helpful? Give feedback.
0 replies
This comment was marked as disruptive content.
This comment was marked as disruptive content.
This comment was marked as disruptive content.
This comment was marked as disruptive content.
This comment was marked as spam.
This comment was marked as spam.
-
Thanks @talktopri for this concise and useful article on GitHub Actions! I've used the knowledge learnt from this article to create useful automated GitHub actions workflows for my very own organization 😄 |
Beta Was this translation helpful? Give feedback.
1 reply
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as disruptive content.
This comment was marked as disruptive content.
This comment was marked as disruptive content.
This comment was marked as disruptive content.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Getting started with GitHub Actions
This article was written by an automation created by GitHub Actions.
Not really.
But it could have been. 😉
No matter your role in the software development lifecycle or your skill level: if your repository lives on GitHub, GitHub Actions is for you, and it can help automate your workflows!
The best part about GitHub Actions is that getting started is as easy as 1, 2, 3.
1. One file to rule them all: YAML
Start automating your workflows by writing a YAML file. A YAML file is, in a nutshell, a text file that contains
key:value
pairs. You can see an example of what its syntax looks like in the next section.YAML files are also known as workflow files, and they must:
2. Two ways to get started
Now that you know what a YAML file is, let's get started! You can:
Before you start building your workflow, make sure you have:
Identified what event will trigger your workflow: in this example, I am using the
issues
andissue_comment
event triggers.Selected your runner type appropriately: the runner is the application that runs a job from a GitHub Actions workflow. The example above uses a GitHub-hosted runner installed on the latest version of Ubuntu. Follow the steps on our documentation to use GitHub-hosted runners, or to host your own runners.
If you are using an action from the GitHub Marketplace: ensure you have the action and version noted. In this example, I am using the usthe/[email protected] action.
Here is the TL;DR for the example and steps above: when an issue or issue comment is created, a job will be triggered and run on a GitHub-hosted runner. The usthe/[email protected] action will be called, and the text within that issue or issue comment will be translated from its original language to English.
To see these steps in action (pun intended), visit this repository.
Simple, right? If you are ready to learn more, I've written a whole book about GitHub Actions! You can purchase a copy of Automating Workflows with GitHub Actions. In it, I go over topics like migrating from other platforms into GitHub Actions, securing your actions, troubleshooting and monitoring your workflow runs, hosting you own runner and more. Let me know what you think! 😃
Now that you understand the basics of GitHub Actions, you can automate workflows as simple or complex as you wish! And of course, GitHub and the community are here to collaborate, provide inspiration, and help answer questions. Here's how you can keep the conversation going!
3. Getting help and contributing to the community
We can’t wait to see what you will build and automate with GitHub Actions! Stay engaged with the community and take advantage of these resources available to you:
Beta Was this translation helpful? Give feedback.
All reactions