Add first examples of Actions example library (#21282)
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
This commit is contained in:
1
data/reusables/actions/checkout-action-table-entry.md
Normal file
1
data/reusables/actions/checkout-action-table-entry.md
Normal file
@@ -0,0 +1 @@
|
||||
| Cloning your repository to the runner: | [`actions/checkout`](https://github.com/actions/checkout)|
|
||||
1
data/reusables/actions/concurrency-table-entry.md
Normal file
1
data/reusables/actions/concurrency-table-entry.md
Normal file
@@ -0,0 +1 @@
|
||||
| Controlling how many workflow runs or jobs can run at the same time: | [`concurrency`](/actions/using-jobs/using-concurrency)|
|
||||
1
data/reusables/actions/cron-table-entry.md
Normal file
1
data/reusables/actions/cron-table-entry.md
Normal file
@@ -0,0 +1 @@
|
||||
| Running a workflow at regular intervals: | [`schedule`](/actions/learn-github-actions/events-that-trigger-workflows#schedule) |
|
||||
1
data/reusables/actions/example-diagram-intro.md
Normal file
1
data/reusables/actions/example-diagram-intro.md
Normal file
@@ -0,0 +1 @@
|
||||
The following diagram shows a high level view of the workflow's steps and how they run within the job:
|
||||
1
data/reusables/actions/example-docs-engineering-intro.md
Normal file
1
data/reusables/actions/example-docs-engineering-intro.md
Normal file
@@ -0,0 +1 @@
|
||||
The following workflow was created by the {% data variables.product.prodname_dotcom %} Docs Engineering team. To review the latest version of this file in the [`github/docs`](https://github.com/github/docs) repository, see
|
||||
@@ -0,0 +1 @@
|
||||
The following table explains how each of these features are used when creating a {% data variables.product.prodname_actions %} workflow.
|
||||
1
data/reusables/actions/example-table-intro.md
Normal file
1
data/reusables/actions/example-table-intro.md
Normal file
@@ -0,0 +1 @@
|
||||
The example workflow demonstrates the following capabilities of {% data variables.product.prodname_actions %}:
|
||||
1
data/reusables/actions/example-workflow-intro-ci.md
Normal file
1
data/reusables/actions/example-workflow-intro-ci.md
Normal file
@@ -0,0 +1 @@
|
||||
This article uses an example workflow to demonstrate some of the main CI features of {% data variables.product.prodname_actions %}.
|
||||
1
data/reusables/actions/explanation-name-key.md
Normal file
1
data/reusables/actions/explanation-name-key.md
Normal file
@@ -0,0 +1 @@
|
||||
The name of the workflow as it will appear in the "Actions" tab of the {% data variables.product.prodname_dotcom %} repository.
|
||||
1
data/reusables/actions/if-conditions-table-entry.md
Normal file
1
data/reusables/actions/if-conditions-table-entry.md
Normal file
@@ -0,0 +1 @@
|
||||
| Preventing a job from running unless specific conditions are met: | [`if`](/actions/using-jobs/using-conditions-to-control-job-execution)|
|
||||
4
data/reusables/actions/learning-actions.md
Normal file
4
data/reusables/actions/learning-actions.md
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
- To learn about {% data variables.product.prodname_actions %} concepts, see "[Understanding GitHub Actions](/actions/learn-github-actions/understanding-github-actions)."
|
||||
- For more step-by-step guide for creating a basic workflow, see "[Quickstart for GitHub Actions](/actions/quickstart)."
|
||||
- If you're comfortable with the basics of {% data variables.product.prodname_actions %}, you can learn about workflows and their features at "[About workflows](/actions/using-workflows/about-workflows)."
|
||||
5
data/reusables/actions/note-understanding-example.md
Normal file
5
data/reusables/actions/note-understanding-example.md
Normal file
@@ -0,0 +1,5 @@
|
||||
{% note %}
|
||||
|
||||
**Note**: Each line of this workflow is explained in the next section at "[Understanding the example](#understanding-the-example)."
|
||||
|
||||
{% endnote %}
|
||||
1
data/reusables/actions/permissions-table-entry.md
Normal file
1
data/reusables/actions/permissions-table-entry.md
Normal file
@@ -0,0 +1 @@
|
||||
| Setting permissions for the token: | [`permissions`](/actions/using-jobs/assigning-permissions-to-jobs)|
|
||||
1
data/reusables/actions/pull-request-table-entry.md
Normal file
1
data/reusables/actions/pull-request-table-entry.md
Normal file
@@ -0,0 +1 @@
|
||||
| Triggering a workflow to run automatically: | [`pull_request`](/actions/using-workflows/events-that-trigger-workflows#pull_request) |
|
||||
1
data/reusables/actions/push-table-entry.md
Normal file
1
data/reusables/actions/push-table-entry.md
Normal file
@@ -0,0 +1 @@
|
||||
| Triggering a workflow to run automatically: | [`push`](/actions/using-workflows/events-that-trigger-workflows#push) |
|
||||
1
data/reusables/actions/secrets-table-entry.md
Normal file
1
data/reusables/actions/secrets-table-entry.md
Normal file
@@ -0,0 +1 @@
|
||||
| Referencing secrets in a workflow: | [Secrets](/actions/security-guides/encrypted-secrets)|
|
||||
1
data/reusables/actions/setup-node-table-entry.md
Normal file
1
data/reusables/actions/setup-node-table-entry.md
Normal file
@@ -0,0 +1 @@
|
||||
| Installing `node` on the runner: | [`actions/setup-node`](https://github.com/actions/setup-node) |
|
||||
1
data/reusables/actions/workflow-dispatch-table-entry.md
Normal file
1
data/reusables/actions/workflow-dispatch-table-entry.md
Normal file
@@ -0,0 +1 @@
|
||||
| Manually running a workflow from the UI: | [`workflow_dispatch`](/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch)|
|
||||
Reference in New Issue
Block a user