| title: Creating an example workflow | |
| intro: 'In this tutorial, you''ll learn how to create a basic workflow that is triggered by a push event.' | |
| versions: | |
| fpt: '*' | |
| ghes: '*' | |
| ghec: '*' | |
| type: tutorial | |
| topics: | |
| - Actions | |
| - Workflows | |
| shortTitle: Create an example workflow | |
| layout: inline | |
| redirect_from: | |
| - /actions/use-cases-and-examples/creating-an-example-workflow | |
| - /actions/tutorials/creating-an-example-workflow | |
| ## Introduction | |
| This guide shows you how to create a basic workflow that is triggered when code is pushed to your repository. | |
| {% data reusables.actions.workflow-templates-for-more-information %} | |
| > [!IMPORTANT] For more information about best practices for securing your workflows and secure use of {% data variables.product.prodname_actions %} features, see [AUTOTITLE](/actions/reference/secure-use-reference#writing-workflows). | |
| {% data reusables.actions.workflow-basic-example-and-explanation %} | |