Skip to content

Commit a6f2e68

Browse files
authored
Avoid use branch for example workflows (#1231)
1 parent 3d0d13d commit a6f2e68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/actions/reference/workflow-syntax-for-github-actions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ steps:
446446
uses: monacorp/action-name@main
447447
- name: My backup step
448448
if: {% raw %}${{ failure() }}{% endraw %}
449-
uses: actions/heroku@master
449+
uses: actions/heroku@1.0.0
450450
```
451451

452452
#### **`jobs.<job_id>.steps.name`**
@@ -492,7 +492,7 @@ jobs:
492492
steps:
493493
- name: My first step
494494
# Uses the default branch of a public repository
495-
uses: actions/heroku@master
495+
uses: actions/heroku@1.0.0
496496
- name: My second step
497497
# Uses a specific version tag of a public repository
498498
uses: actions/[email protected]

0 commit comments

Comments
 (0)