-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
372833f
commit 55db3e2
Showing
2 changed files
with
40 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -148,6 +148,23 @@ when using this trigger.** | |
Instructions on using the action within Azure Pipelines can be found | ||
[here][azurepipelinestask]. | ||
|
||
## Git History | ||
|
||
Depending on the nature of your repo history, it may be necessary to fetch Git | ||
history during checkout. This can be done by updating the `actions/checkout` | ||
step: | ||
|
||
```YAML | ||
- uses: actions/[email protected] | ||
fetch-depth: 0 | ||
``` | ||
|
||
In many cases, `fetch-depth` will not be required so it is recommended not to | ||
set this unless the task explicitly requests it. It may also be possible to set | ||
this to a value greater than 0 if you only require a partial history, but it can | ||
be difficult to determine a value that will work consistently, due to the nature | ||
of Git history. | ||
|
||
## Troubleshooting | ||
|
||
A set of steps for troubleshooting any issues encountered can be found | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters