Skip to content

Commit 8c2ce9d

Browse files
committed
Line edits2
1 parent 11b5219 commit 8c2ce9d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

learn-pr/github/create-custom-github-actions/includes/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ This module assumes you have basic familiarity with GitHub Actions and workflows
2222
- The ability to navigate and edit files in GitHub
2323
- For more information about GitHub, see [Introduction to GitHub](https://github.com/skills/introduction-to-github).
2424
- Basic familiarity with GitHub Actions and workflows
25-
- If you aren't familiar with workflows, jobs and steps, check out the [Automate development tasks by using GitHub Actions](/training/modules/github-actions-automate-tasks/) module.
25+
- If you aren't familiar with workflows, jobs, and steps, check out the [Automate development tasks by using GitHub Actions](/training/modules/github-actions-automate-tasks/) module.
2626
- Basic familiarity with continuous integration using GitHub Actions and workflows
2727
- If you're unfamiliar with continuous integration using GitHub Actions and workflows, check out [Build continuous integration (CI) workflows by using GitHub Actions](/training/modules/github-actions-ci/).

learn-pr/github/create-custom-github-actions/includes/publish-custom-github-action.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ If you're developing an action for other people to use, whether it's public or p
3535

3636
### Good practices for release and version management
3737

38-
A good release-management strategy should include versioning recommendations. Users should not be referencing an action's default branch with the action. This is because the default branch that's likely to contain the latest code (which might or might not be stable) could result in your workflow breaking. Instead, we recommend that users specify a major version when using the action, and to only direct them to a more specific version if they encounter issues. They can do this by configuring their GitHub Actions workflow to target a tag, a commit's SHA, or a specific branch named for a release. Let's take a closer look at these release options.
38+
A good release-management strategy should include versioning recommendations. Users shouldn't be referencing an action's default branch with the action. This is because the default branch that's likely to contain the latest code (which might or might not be stable) could result in your workflow breaking. Instead, we recommend that users specify a major version when using the action, and to only direct them to a more specific version if they encounter issues. They can do this by configuring their GitHub Actions workflow to target a tag, a commit's SHA, or a specific branch named for a release. Let's take a closer look at these release options.
3939

4040
#### Tags
4141

@@ -58,7 +58,7 @@ steps:
5858
5959
#### Use a commit's SHA
6060
61-
Tags are useful and widely used, but one downside to using tags is that they can be deleted or moved. With Git, each commit receives a calculated SHA value, which is unique and cannot be modified. Using a commit SHA for versioning will give you the most reliable and secure way to version and use an action. However, often in Git you can abbreviate the SHA hash to the first several characters, and Git will recognize the reference. If you're using the commit's SHA for release management, you need to use the full SHA value and not the abbreviated value.
61+
Tags are useful and widely used, but one downside to using tags is that they can be deleted or moved. With Git, each commit receives a calculated SHA value, which is unique and can't be modified. Using a commit SHA for versioning will give you the most reliable and secure way to version and use an action. However, often in Git you can abbreviate the SHA hash to the first several characters, and Git will recognize the reference. If you're using the commit's SHA for release management, you need to use the full SHA value and not the abbreviated value.
6262
6363
```yml
6464
steps:

0 commit comments

Comments
 (0)