mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-11-21 17:36:59 -05:00
user: actions: explain errors tooltip
This commit is contained in:
parent
142d8a03d1
commit
8bd50bb4ef
2 changed files with 13 additions and 1 deletions
BIN
docs/_images/user/actions/actions-syntax-error.png
Normal file
BIN
docs/_images/user/actions/actions-syntax-error.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 64 KiB |
|
@ -507,7 +507,19 @@ For remote actions that are implemented with a `Dockerfile` instead of `action.y
|
|||
|
||||
[Check out the example](https://code.forgejo.org/actions/setup-forgejo/src/branch/main/testdata/example-docker-action/.forgejo/workflows/test.yml)
|
||||
|
||||
## Debugging workflows with forgejo-runner exec
|
||||
## Debugging workflows
|
||||
|
||||
### Errors in the YAML file
|
||||
|
||||
When the YAML file describing the workflow contains an error that can
|
||||
be detected with static analysis, it is signaled by a warning sign in
|
||||
the actions task list of the repository, next to the file name that
|
||||
contains the workflow. Hovering on the file name will show a tooltip
|
||||
with a detailed error message.
|
||||
|
||||
![actions results](../_images/user/actions/actions-syntax-error.png)
|
||||
|
||||
### With forgejo-runner exec
|
||||
|
||||
To get a quicker debug loop when working on a workflow, it may be more
|
||||
convenient to run them on your laptop using `forgejo-runner exec`. For
|
||||
|
|
Loading…
Reference in a new issue